]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: drm/imx: check return value of ipu_reset()
authorLothar Waßmann <LW@KARO-electronics.de>
Tue, 25 Dec 2012 14:58:37 +0000 (15:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Jan 2013 20:27:51 +0000 (12:27 -0800)
commit4d27b2ca154eff58f4d7f34e4cd374c1070a56fc
tree7e24151297e636d8d73f79b93658a07f17bd9ee9
parent412fc87093df7d40d187f6f167524221ae8080b2
staging: drm/imx: check return value of ipu_reset()

ipu_reset() can fail with a timeout. Check the return value and act
appropriately.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/ipu-v3/ipu-common.c