提交 12d0ca80 编写于 作者: L Liu Ying 提交者: Philipp Zabel

drm/imx: imx-ldb: Register LDB channel1 when it is the only channel to be used

LDB channel1 should be registered if it is the only channel to be used.
Without this patch, imx_ldb_bind() would skip registering LDB channel1
if LDB channel0 is not used, no matter LDB channel1 needs to be used or
not.

Fixes: 8767f471 (drm/imx: imx-ldb: move initialization into probe)
Signed-off-by: NLiu Ying <victor.liu@nxp.com>
Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
上级 69c3ed72
......@@ -583,7 +583,7 @@ static int imx_ldb_bind(struct device *dev, struct device *master, void *data)
struct imx_ldb_channel *channel = &imx_ldb->channel[i];
if (!channel->ldb)
break;
continue;
ret = imx_ldb_register(drm, channel);
if (ret)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册