commit | 9ada0e6379b10729b8f2d46fc5f17174d148cb62 | [log] [tgz] |
---|---|---|
author | Eric Gao <eric.gao@rock-chips.com> | Tue May 02 18:23:51 2017 +0800 |
committer | Simon Glass <sjg@chromium.org> | Wed May 10 13:37:22 2017 -0600 |
tree | 6550d24877f04a0cbe8cbadd0b262b367aa2bc3b | |
parent | 4789bc14fe5f5fbd1cc648e738981c38047f07a7 [diff] |
rockchip: video: vop: Fix rk_display_init() return error It's caused by the difference of clk_set_rate function implement between rk3288 andd rk3399. clk_set_rate() of rk3288 return 0 in normal condition. clk_set_rate() of rk3399 return input parameter in normal condition. So check clk_set_rate's return value by IS_ERR_VALUE. Signed-off-by: Eric Gao <eric.gao@rock-chips.com>