From: Luis Alves Date: Wed, 24 Jul 2013 12:06:01 +0000 (-0300) Subject: [media] cx23885[v4]: Fix interrupt storm when enabling IR receiver X-Git-Tag: v3.12-rc1~135^2~179 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bc08e1921e46101457d3be09835697490177fdd;p=pandora-kernel.git [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 Acked-by: Andy Walls Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed