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)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 16 Jul 2018 14:56:34 +0000 (16:56 +0200)
commitc80d673b91a6c81d765864e10f2b15110ee900ad
tree9000c84b6a18af4c781b78705875e95583566a7e
parentb58262396fabd43dc869b576e3defdd23b32fe94
drm/imx: imx-ldb: check if channel is enabled before printing warning

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>
drivers/gpu/drm/imx/imx-ldb.c