]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i2c: tda998x: handle all outstanding interrupts
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 6 Jun 2015 20:41:10 +0000 (21:41 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 15 Sep 2015 15:19:49 +0000 (16:19 +0100)
commitdccf8aaf04268368ce168e799d216c99a2515a99
tree16c4f6055e238df4450e6e514b2a05a3a0070492
parent500b7af43b18f3a51aec17ddc7cba44ba9d278d8
drm/i2c: tda998x: handle all outstanding interrupts

As reading the interrupt registers clears the outstanding interrupts, we
must process all received interrupts to avoid dropping any.  Rearrange
the code to achieve this, and properly check for a HPD interrupt from
the CEC_RXSHPDINT register.

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