Commit 30713740 authored by Steven Toth's avatar Steven Toth Committed by Greg Kroah-Hartman

V4L: cx23885: Bugfix for concurrent use of /dev/video0 and /dev/video1

(cherry picked from commit 28901ab6)

V4L: 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: default avatarSteven Toth <stoth@hauppauge.com>
Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b0c31e89
...@@ -104,8 +104,8 @@ static struct sram_channel cx23887_sram_channels[] = { ...@@ -104,8 +104,8 @@ static struct sram_channel cx23887_sram_channels[] = {
[SRAM_CH03] = { [SRAM_CH03] = {
.name = "TS1 B", .name = "TS1 B",
.cmds_start = 0x100A0, .cmds_start = 0x100A0,
.ctrl_start = 0x10780, .ctrl_start = 0x10670,
.cdt = 0x10400, .cdt = 0x10810,
.fifo_start = 0x5000, .fifo_start = 0x5000,
.fifo_size = 0x1000, .fifo_size = 0x1000,
.ptr1_reg = DMA3_PTR1, .ptr1_reg = DMA3_PTR1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment