aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-06-27 23:48:18 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-26 11:54:21 -0400
commit28901ab621bb56cd2aa9670dc7ce016ba80ec45c (patch)
treec83bf72b38a6864d356bafb2c38929ba1d19b136 /drivers/media/video
parent35f92b2af8230ffc1146e2317e2068fefd7caacb (diff)
V4L/DVB (8464): cx23885: Bugfix for concurrent use of /dev/video0 and /dev/video1
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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/cx23885/cx23885-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c
index d17343ea0d33..e14371ef1269 100644
--- a/drivers/media/video/cx23885/cx23885-core.c
+++ b/drivers/media/video/cx23885/cx23885-core.c
@@ -104,8 +104,8 @@ static struct sram_channel cx23887_sram_channels[] = {
104 [SRAM_CH03] = { 104 [SRAM_CH03] = {
105 .name = "TS1 B", 105 .name = "TS1 B",
106 .cmds_start = 0x100A0, 106 .cmds_start = 0x100A0,
107 .ctrl_start = 0x10780, 107 .ctrl_start = 0x10670,
108 .cdt = 0x10400, 108 .cdt = 0x10810,
109 .fifo_start = 0x5000, 109 .fifo_start = 0x5000,
110 .fifo_size = 0x1000, 110 .fifo_size = 0x1000,
111 .ptr1_reg = DMA3_PTR1, 111 .ptr1_reg = DMA3_PTR1,