From 5bac8f515b2678ef0dc54c4f0b241f009ec6f14c Mon Sep 17 00:00:00 2001 From: Liu Ying <victor.liu@nxp.com> Date: Thu, 20 Jul 2017 10:19:43 +0800 Subject: [PATCH] MLK-16036 drm/imx: ldb: Avoid early return when getting aux PHY in dual mode In dual mode, we return too early from ->bind when we get the auxiliary channel's PHY. This causes we miss the logics to set driver data, get ldb alias id and initialize pixel link(if necessary). This patch fixes the issue here by tweaking the driver logic to do component binding properly. Signed-off-by: Liu Ying <victor.liu@nxp.com> (cherry picked from commit 94bf9cef6af433f88aedd618e01db348dadfa053) --- drivers/gpu/drm/imx/imx-ldb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/imx/imx-ldb.c b/drivers/gpu/drm/imx/imx-ldb.c index c4a61117a6d4d6..7954a30d1ac977 100644 --- a/drivers/gpu/drm/imx/imx-ldb.c +++ b/drivers/gpu/drm/imx/imx-ldb.c @@ -1226,7 +1226,7 @@ get_phy: } if (auxiliary_ch) - return 0; + continue; } ret = imx_ldb_register(drm, channel); -- GitLab