]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit66f0ef772be5e7fa056dad0678a6cf53e63b4751
tree277ad69fe69e1a4137138b37d057e7a24e738348
parent85979c014a88653228f7a9cb4b8b191ac1fd8a58
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