drm/i2c: tda998x: report whether we actually handled the IRQ
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 6 Jun 2015 20:41:09 +0000 (21:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 15 Sep 2015 15:19:48 +0000 (16:19 +0100)
commitf84a97d4804a09240372dc7b195f9d6162152228
tree277ad69fe69e1a4137138b37d057e7a24e738348
parent3f3d0d00734de56a0c5996f4e4433046c745592e
drm/i2c: tda998x: report whether we actually handled the IRQ

Rather than always reporting that the interrupt was handled, we should
report whether we did handle the interrupt.  Arrange to report IRQ_NONE
for cases where we found nothing to do.

This allows us to (eventually) recover from stuck-IRQ problems, rather
than causing the kernel to solidly lock up.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c