linux/drivers/media/video/saa7134
Andy Walls 7ef5e02553 V4L/DVB (10219): saa7134: Prevent Oops due to stale IRQ status when enabling interrupts
When enabling a shared IRQ line, then saa7134_irq handler could be invoked
before the driver had completely set up internal structures, due to a shared
interrupt line firing.  Clear the saa7134 interrupt status reg, before
requesting the irq line, so that stale IRQ status isn't processed before the
internal structures are set up.

Marcin Slusarz recently brought this Oops to the attention of the v4l-dvb
lists and provided an initial analysis by investigating reports found here:

http://kerneloops.org/guilty.php?guilty=mute_input_7133&version=2.6.27-release&start=1802240&end=1835007&class=oops

Reported-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-01-29 08:35:38 -02:00
..
Kconfig V4L/DVB (9885): drivers/media Kconfig's: fix bugzilla #12204 2008-12-16 16:43:59 -02:00
Makefile V4L/DVB(7767): Move tuners to common/tuners 2008-04-29 18:41:37 -03:00
saa6752hs.c V4L/DVB (10141): v4l2: debugging API changed to match against driver name instead of ID. 2009-01-02 17:11:52 -02:00
saa7134-alsa.c ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
saa7134-cards.c V4L/DVB (10161): saa7134: fix autodetection for AVer TV GO 007 FM Plus 2009-01-02 17:14:34 -02:00
saa7134-core.c V4L/DVB (10219): saa7134: Prevent Oops due to stale IRQ status when enabling interrupts 2009-01-29 08:35:38 -02:00
saa7134-dvb.c V4L/DVB (10154): saa7134: fix a merge conflict on Behold H6 board 2009-01-02 17:12:38 -02:00
saa7134-empress.c V4L/DVB (10141): v4l2: debugging API changed to match against driver name instead of ID. 2009-01-02 17:11:52 -02:00
saa7134-i2c.c V4L/DVB (9168): Add support for MSI TV@nywhere Plus remote 2008-10-13 09:57:34 -02:00
saa7134-input.c V4L/DVB (10156): saa7134: Add support for Avermedia AVer TV GO 007 FM Plus 2009-01-02 17:13:44 -02:00
saa7134-reg.h V4L/DVB (8019): New for I2S on for MPEG of saa7134_empress 2008-07-20 07:09:03 -03:00
saa7134-ts.c V4L/DVB (8797): A simple state machine was added to saa7134_ts. 2008-10-12 09:36:55 -02:00
saa7134-tvaudio.c V4L/DVB (9638): drivers/media: use ARRAY_SIZE 2008-12-29 17:53:34 -02:00
saa7134-vbi.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
saa7134-video.c V4L/DVB (10141): v4l2: debugging API changed to match against driver name instead of ID. 2009-01-02 17:11:52 -02:00
saa7134.h V4L/DVB (10156): saa7134: Add support for Avermedia AVer TV GO 007 FM Plus 2009-01-02 17:13:44 -02:00