staging: drm/imx: make waiting for idle channel optional
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 10 Oct 2013 14:18:41 +0000 (16:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:30:33 +0000 (15:30 -0700)
commitfb822a395f6deabd9a87838a4e3da4b87c801876
treec38dc43c55ca0c4cbcc3cdeaadfcec208ee9d781
parent0b186416c943eebfad070d38768cc3f2a80d5443
staging: drm/imx: make waiting for idle channel optional

Currently we wait for a channel until it's idle before actually
disabling it. This is not needed for all channels though, so make
waiting for idle a separate function and call it where necessary.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/ipu-v3/imx-ipu-v3.h
drivers/staging/imx-drm/ipu-v3/ipu-common.c
drivers/staging/imx-drm/ipuv3-crtc.c