From: Steven Toth Date: Tue, 29 Jul 2008 02:01:33 +0000 (-0400) Subject: V4L: cx23885: Bugfix for concurrent use of /dev/video0 and /dev/video1 X-Git-Tag: v2.6.26.1~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=307137407be8d4a593f9bebc51693d340969dd46;p=platform%2Fkernel%2Flinux-stable.git V4L: cx23885: Bugfix for concurrent use of /dev/video0 and /dev/video1 (cherry picked from commit 28901ab621bb56cd2aa9670dc7ce016ba80ec45c) 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: Steven Toth Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index c4cc2f3b8876..fe5c09a06832 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[] = { [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,