From 5bc08e1921e46101457d3be09835697490177fdd Mon Sep 17 00:00:00 2001 From: Luis Alves Date: Wed, 24 Jul 2013 09:06:01 -0300 Subject: [PATCH] [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-format-patch failed