]> err.no Git - linux-2.6/blobdiff - drivers/media/common/saa7146_video.c
Merge branch 'linus' into core/generic-dma-coherent
[linux-2.6] / drivers / media / common / saa7146_video.c
index acaddc15dadc8a7722774437fbb9dfa7bc0ae261..e8bc7abf24097d93b6b0b2135c72a2c3c9b198fd 100644 (file)
@@ -656,7 +656,7 @@ static int saa7146_pgtable_build(struct saa7146_dev *dev, struct saa7146_buf *bu
 
                /* if we have a user buffer, the first page may not be
                   aligned to a page boundary. */
-               pt1->offset = list->offset;
+               pt1->offset = dma->sglist->offset;
                pt2->offset = pt1->offset+o1;
                pt3->offset = pt1->offset+o2;