]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: imx-ldb: Register LDB channel1 when it is the only channel to be used
authorLiu Ying <victor.liu@nxp.com>
Mon, 22 Mar 2021 02:56:40 +0000 (10:56 +0800)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 25 Mar 2021 06:47:14 +0000 (07:47 +0100)
commitdca7a3ebe76cb53ced465b6ea955af1d874c7128
tree39d5b77eeb9b7cecd662399f3cf0905094a749e0
parent6ff542fcf19816d6d485939c593abec334a86690
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: 3a7209d99c65 (drm/imx: imx-ldb: move initialization into probe)
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/imx-ldb.c