diff options
author | Fancy Fang <chen.fang@nxp.com> | 2018-08-30 15:13:57 +0800 |
---|---|---|
committer | Fancy Fang <chen.fang@nxp.com> | 2018-09-03 10:35:13 +0800 |
commit | aa89da973c3072b11ea7f86af52a8e6d111b93a5 (patch) | |
tree | 8a1c8c199973427f937d9772203a5aa0fe8c866a | |
parent | ae9a13e5261089918eeb2f978a74e80c7c5cfd0e (diff) |
MLK-19400-1 drm/bridge: sec-dsim: correct one fail branching
Obviously, DRM panel prepare is done after the DSIM PLL config,
so when PLL config failed, the 'sec_mipi_dsim_bridge_enable()'
should return directly instead of goto DRM panel unprepare.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 9c77865d6ec98ff60a82f03743fd797d082634cc)
-rw-r--r-- | drivers/gpu/drm/bridge/sec-dsim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/sec-dsim.c b/drivers/gpu/drm/bridge/sec-dsim.c index f5a5fb91c083..b0431bd5cd04 100644 --- a/drivers/gpu/drm/bridge/sec-dsim.c +++ b/drivers/gpu/drm/bridge/sec-dsim.c @@ -1201,7 +1201,7 @@ static void sec_mipi_dsim_bridge_enable(struct drm_bridge *bridge) ret = sec_mipi_dsim_config_pll(dsim); if (ret) { dev_err(dsim->dev, "dsim pll config failed: %d\n", ret); - goto panel_unprepare; + return; } /* config dphy timings */ |