]> git.openfabrics.org - ~emulex/infiniband.git/commit
[media] cx23885[v4]: Fix interrupt storm when enabling IR receiver
authorLuis Alves <ljalvs@gmail.com>
Wed, 24 Jul 2013 12:06:01 +0000 (09:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 1 Aug 2013 17:55:24 +0000 (14:55 -0300)
commit5bc08e1921e46101457d3be09835697490177fdd
tree36b33c6c42a531adf12804a69da0513778208b04
parent00865fe61e2e0c7641b8a96d871003d6287ec7bc
[media] cx23885[v4]: Fix interrupt storm when enabling IR receiver

Apparently the Flatiron genereates an interrupt after the built-in self
test for each of its left and right channels has completed.

Apparently Conexant wire-OR'ed the Flatiron's interrupt output with the
interrupt output of the CX23885 A/V core.

Those interrupts need to be handled, otherwise, they generate an
interrrupt request storm.

So:

- Add flatiron readreg and writereg functions prototypes
  on a new header file;
- Modify the av interrupt handler to cleanup flatiron IRQs if no other
  interrupt handling happens.

Signed-off-by: Luis Alves <ljalvs@gmail.com>
Acked-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/pci/cx23885/cx23885-av.c
drivers/media/pci/cx23885/cx23885-video.c
drivers/media/pci/cx23885/cx23885-video.h [new file with mode: 0644]