diff options
author | Steven Toth <stoth@hauppauge.com> | 2007-09-04 20:50:49 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:08:26 -0400 |
commit | 2df9a4c2d81ed255c9e027ee5df676a65f4ab578 (patch) | |
tree | d282f7a01483ec95be7e18b7bf57b54dbd31f5b8 /drivers/media/video | |
parent | 86184e06da4b71fc24ae9505ec60ce95c098d0de (diff) |
V4L/DVB (6173): cx23885: Minor cleanup and important NMI comment placed in code
I wanted to document the NMI assert issue inside the code, even though
it's already documented in the patch history. If/when the next cx23887
revision appears, is may need to be enabled on that also.
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-core.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index fa5f6488b994..13dc7c8642ca 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c | |||
@@ -331,8 +331,8 @@ static int cx23885_risc_decode(u32 risc) | |||
331 | [ RISC_WRITECR >> 28 ] = "writecr", | 331 | [ RISC_WRITECR >> 28 ] = "writecr", |
332 | }; | 332 | }; |
333 | static int incr[16] = { | 333 | static int incr[16] = { |
334 | [ RISC_WRITE >> 28 ] = 3, // 2 | 334 | [ RISC_WRITE >> 28 ] = 3, |
335 | [ RISC_JUMP >> 28 ] = 3, // 2 | 335 | [ RISC_JUMP >> 28 ] = 3, |
336 | [ RISC_SKIP >> 28 ] = 1, | 336 | [ RISC_SKIP >> 28 ] = 1, |
337 | [ RISC_SYNC >> 28 ] = 1, | 337 | [ RISC_SYNC >> 28 ] = 1, |
338 | [ RISC_WRITERM >> 28 ] = 3, | 338 | [ RISC_WRITERM >> 28 ] = 3, |
@@ -629,6 +629,10 @@ static int cx23885_pci_quirks(struct cx23885_dev *dev) | |||
629 | { | 629 | { |
630 | dprintk(1, "%s()\n", __FUNCTION__); | 630 | dprintk(1, "%s()\n", __FUNCTION__); |
631 | 631 | ||
632 | /* The cx23885 bridge has a weird bug which causes NMI to be asserted | ||
633 | * when DMA begins if RDR_TLCTL0 bit4 is not cleared. It does not | ||
634 | * occur on the cx23887 bridge. | ||
635 | */ | ||
632 | if(dev->bridge == CX23885_BRIDGE_885) | 636 | if(dev->bridge == CX23885_BRIDGE_885) |
633 | cx_clear(RDR_TLCTL0, 1 << 4); | 637 | cx_clear(RDR_TLCTL0, 1 << 4); |
634 | 638 | ||