Skip to content
Commit e07e5bde authored by Eric Gao's avatar Eric Gao Committed by Simon Glass
Browse files

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: default avatarEric Gao <eric.gao@rock-chips.com>
parent 1c398404
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment