gpu: ipu-v3: initially clear all interrupts
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 29 Aug 2016 06:32:03 +0000 (08:32 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 20 Oct 2016 12:40:21 +0000 (14:40 +0200)
commita92d81456c08ea6917a7630718837f0a01cbd0d0
treeaed5d45b049d1509ee64d31c90ce0fa337c79349
parenteae13c9337e2bba0f59b1723114e73be18499c5b
gpu: ipu-v3: initially clear all interrupts

If we want to stop resetting the IPU in the future, masking all
interrupts before registering the irq handlers will not be enough to
avoid spurious interrupts. We also have to clear them.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Liu Ying <gnuiyl@gmail.com>
drivers/gpu/ipu-v3/ipu-common.c