diff options
-rw-r--r-- | drivers/media/common/saa7146_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/saa7146_video.c b/drivers/media/common/saa7146_video.c index acaddc15dadc..e8bc7abf2409 100644 --- a/drivers/media/common/saa7146_video.c +++ b/drivers/media/common/saa7146_video.c | |||
@@ -656,7 +656,7 @@ static int saa7146_pgtable_build(struct saa7146_dev *dev, struct saa7146_buf *bu | |||
656 | 656 | ||
657 | /* if we have a user buffer, the first page may not be | 657 | /* if we have a user buffer, the first page may not be |
658 | aligned to a page boundary. */ | 658 | aligned to a page boundary. */ |
659 | pt1->offset = list->offset; | 659 | pt1->offset = dma->sglist->offset; |
660 | pt2->offset = pt1->offset+o1; | 660 | pt2->offset = pt1->offset+o1; |
661 | pt3->offset = pt1->offset+o2; | 661 | pt3->offset = pt1->offset+o2; |
662 | 662 | ||