diff options
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-core.c')
-rw-r--r-- | drivers/media/video/saa7164/saa7164-core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/saa7164/saa7164-core.c b/drivers/media/video/saa7164/saa7164-core.c index fd15bf388e3b..ad619b325e96 100644 --- a/drivers/media/video/saa7164/saa7164-core.c +++ b/drivers/media/video/saa7164/saa7164-core.c | |||
@@ -339,7 +339,8 @@ static void saa7164_work_enchandler(struct work_struct *w) | |||
339 | 339 | ||
340 | if (buf->actual_size <= ubuf->actual_size) { | 340 | if (buf->actual_size <= ubuf->actual_size) { |
341 | 341 | ||
342 | memcpy_fromio(ubuf->data, buf->cpu, ubuf->actual_size); | 342 | memcpy_fromio(ubuf->data, port->shadow_buf[rp], |
343 | ubuf->actual_size); | ||
343 | 344 | ||
344 | /* Throw a new checksum on the read buffer */ | 345 | /* Throw a new checksum on the read buffer */ |
345 | ubuf->crc = crc32(0, ubuf->data, ubuf->actual_size); | 346 | ubuf->crc = crc32(0, ubuf->data, ubuf->actual_size); |