V4L/DVB: saa7134: Fix IRQ2 bit names for the register map
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 3 Apr 2010 04:43:36 +0000 (01:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:56:52 +0000 (12:56 -0300)
commit3629e1dadff88d22f35f88d53edbac14fd8931de
tree38d80577c94567c35f003715a946fb60409eda55
parentbd7261d3d7dfe61e8bf8945051c1905ba4dba3b5
V4L/DVB: saa7134: Fix IRQ2 bit names for the register map

There's an error at the IRQ2 bit map registers. Also, it doesn't
show what bits are needed for positive and for negative edge.

In the case of IR raw decoding, for some protocols, it is important
to detect both positive and negative edges. So, a latter patch
will need to use the other values.

Also, the code that detects problems on IRQ handling is incomplete,
as it disables only one of the IRQ bits for GPIO16 and GPIO18.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7134/saa7134-core.c
drivers/media/video/saa7134/saa7134-input.c
drivers/media/video/saa7134/saa7134-reg.h