]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (8464): cx23885: Bugfix for concurrent use of /dev/video0 and /dev/video1
authorSteven Toth <stoth@hauppauge.com>
Sat, 28 Jun 2008 03:48:18 +0000 (00:48 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sat, 26 Jul 2008 15:54:21 +0000 (12:54 -0300)
With the HVR1800, trying to use video0 and video1 simultaneously caused
buffer corruption in the PCIe bridge. This fix reallocates video1
buffer locations to avoid the issue.

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>
drivers/media/video/cx23885/cx23885-core.c

index d17343ea0d33bc097ef9f144bb2c45b83c7f7113..e14371ef1269e0e3b684f731ed0b1bbb220ed920 100644 (file)
@@ -104,8 +104,8 @@ static struct sram_channel cx23887_sram_channels[] = {
        [SRAM_CH03] = {
                .name           = "TS1 B",
                .cmds_start     = 0x100A0,
-               .ctrl_start     = 0x10780,
-               .cdt            = 0x10400,
+               .ctrl_start     = 0x10670,
+               .cdt            = 0x10810,
                .fifo_start     = 0x5000,
                .fifo_size      = 0x1000,
                .ptr1_reg       = DMA3_PTR1,