drm/imx: imx-ldb: Disable both channels for split mode in enc->disable()
authorLiu Ying <victor.liu@nxp.com>
Thu, 9 Jul 2020 02:28:52 +0000 (10:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Aug 2020 08:29:02 +0000 (10:29 +0200)
commit71e7ac9ae8f0571fcd151cb35b6757ab1bfc109b
tree72e22f48b6fee6407f33d98994493de7b52dc950
parent7ee66a8a71cf68a44ecfdf2f58e6847cf654ff88
drm/imx: imx-ldb: Disable both channels for split mode in enc->disable()

[ Upstream commit 3b2a999582c467d1883716b37ffcc00178a13713 ]

Both of the two LVDS channels should be disabled for split mode
in the encoder's ->disable() callback, because they are enabled
in the encoder's ->enable() callback.

Fixes: 6556f7f82b9c ("drm: imx: Move imx-drm driver out of staging")
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/imx/imx-ldb.c