drm/imx: imx-ldb: check if channel is enabled before printing warning
authorLucas Stach <l.stach@pengutronix.de>
Wed, 11 Apr 2018 15:31:36 +0000 (17:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 07:18:34 +0000 (09:18 +0200)
commit0ec60fd99a94996767c455cb34d49e946f7d3687
tree5b2e23c1812a98293f0b8e665795a2c5469946bd
parent0f14e3a837623b5634aae4f2d56cf7bbb9accca5
drm/imx: imx-ldb: check if channel is enabled before printing warning

[ Upstream commit c80d673b91a6c81d765864e10f2b15110ee900ad ]

If the second LVDS channel has been disabled in the DT when using dual-channel
mode we should not print a warning.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/imx/imx-ldb.c