drm/rockchip: lvds: Fix an error handling path
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 1 May 2021 15:13:16 +0000 (17:13 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 28 May 2021 18:10:41 +0000 (20:10 +0200)
commit3dfa159f6b0c054eb63673fbf643a5f2cc862e63
treef19074587c2346744261852800cf3b88be053496
parent7455cedf7c4d4d5d808913e14d859705612c54ce
drm/rockchip: lvds: Fix an error handling path

'ret' is know to be 0 a this point. Checking the return value of
'phy_init()' and 'phy_set_mode()' was intended instead.

So add the missing assignments.

Fixes: cca1705c3d89 ("drm/rockchip: lvds: Add PX30 support")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/248220d4815dc8c8088cebfab7d6df5f70518438.1619881852.git.christophe.jaillet@wanadoo.fr
drivers/gpu/drm/rockchip/rockchip_lvds.c