]> git.karo-electronics.de Git - linux-beck.git/commit
[media] solo6x10: fix a race in IRQ handler
authorKrzysztof Hałasa <khalasa@piap.pl>
Fri, 14 Nov 2014 12:35:06 +0000 (09:35 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 21 Nov 2014 17:45:35 +0000 (15:45 -0200)
commit3c787b108fe0d1c341a76e718a25897ae14673cf
tree2e31ba0629b6a6195e35e0fb7bc193383bfb7d79
parentb31eb901c4e5eeef4c83c43dfbc7fe0d4348cb21
[media] solo6x10: fix a race in IRQ handler

The IRQs have to be acknowledged before they are serviced, otherwise some events
may be skipped. Also, acknowledging IRQs just before returning from the handler
doesn't leave enough time for the device to deassert the INTx line, and for
bridges to propagate this change. This resulted in twice the IRQ rate on ARMv6
dual core CPU.

Signed-off-by: Krzysztof Ha?asa <khalasa@piap.pl>
Acked-by: Andrey Utkin <andrey.utkin@corp.bluecherry.net>
Tested-by: Andrey Utkin <andrey.utkin@corp.bluecherry.net>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/solo6x10/solo6x10-core.c