imx-drm: ipuv3-crtc: change display enable/disable order
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 14 Apr 2014 21:53:22 +0000 (23:53 +0200)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Apr 2014 10:24:19 +0000 (11:24 +0100)
commitc115edb87f0666b924d8139b2fb0396b03c6ac5d
tree6a4dbe37a5a0d02290125ee57adcc963bab9f691
parent216ddd608fb4f993d2f80ddbf1297abe10935a89
imx-drm: ipuv3-crtc: change display enable/disable order

Now that ipu_dc_disable_channel correctly waits for the channel to finish,
we can reorder the enable/disable order to first stop the DC and DI and
only then disable the IDMAC. Enabling is done the other way around: IDMAC
first, then DC, then DI.

This avoids an issue where sometimes the channel would not correctly start,
leading to non-working LVDS displays.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/staging/imx-drm/ipuv3-crtc.c