]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf1899a9d1985d9739c5e1d2f3efa80a4cd952b62
treec38dc43c55ca0c4cbcc3cdeaadfcec208ee9d781
parentedfbcb30b216bdafdc08e759a08f45cbdad5758a
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