mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
video: rockchip: dw_mipi_dsi: Return 0 from dsi_phy_init on success
ret is undefined if external phy is not used resulting in bogus error being returned in that scenario. Signed-off-by: Ondrej Jirman <megi@xff.cz>
This commit is contained in:
parent
14dd77fdc4
commit
4158d7f987
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ static int dsi_phy_init(void *priv_data)
|
|||
dw_mipi_dsi_phy_write(dsi, HS_TX_DATA_LANE_EXIT_STATE_TIME_CONTROL,
|
||||
BIT(5) | ns2bc(dsi, 100));
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void dsi_phy_post_set_mode(void *priv_data, unsigned long mode_flags)
|
||||
|
|
Loading…
Reference in a new issue