media: ddbridge: improve separated MSI IRQ handling
authorDaniel Scheller <d.scheller@gmx.net>
Mon, 9 Apr 2018 16:47:42 +0000 (12:47 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 14:38:57 +0000 (10:38 -0400)
commit285d490c31bd30e3afb67032e3c5ced003cdc895
treebb82e6222badaae00aba7fd87861eaaed387468d
parente8227689f93984348468c9153e23db06ef95491e
media: ddbridge: improve separated MSI IRQ handling

Improve IRQ handling in the separated MSG/I2C and IO/TSDATA handlers by
applying a mask for recognized bits immediately upon reading the IRQ mask
from the hardware, so only the bits/IRQs that actually were set will be
acked.

Picked up from the upstream dddvb-0.9.33 release.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/pci/ddbridge/ddbridge-core.c