imx-drm: ipu-dmfc: wait for FIFOs to run empty before disabling
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 14 Apr 2014 21:53:18 +0000 (23:53 +0200)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Apr 2014 10:24:15 +0000 (11:24 +0100)
commit47348661c4e03480dc99a29c371b5fa930d1bb55
tree8ac5d3c9468dee4916466f6b1434d66c6b789a84
parent17075504688baf04567fc47c4a2a6ab8684b13e9
imx-drm: ipu-dmfc: wait for FIFOs to run empty before disabling

Disabling the DMFC module while there is still data in the FIFOs could
cause the "new frame before end of frame" error state when the DMFC is
enabled again.

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