diff options
Diffstat (limited to 'linux/drivers/media')
-rw-r--r-- | linux/drivers/media/common/saa7146_core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/common/saa7146_core.c b/linux/drivers/media/common/saa7146_core.c index c1573e0cb..7ff131b25 100644 --- a/linux/drivers/media/common/saa7146_core.c +++ b/linux/drivers/media/common/saa7146_core.c @@ -153,7 +153,7 @@ void saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *p ptr = pt->cpu; for (i = 0; i < length; i++, list++) { for (p = 0; p * 4096 < list->length; p++, ptr++) { - *ptr = sg_dma_address(list) - list->offset; // + p + *ptr = sg_dma_address(list) - list->offset; } } @@ -164,10 +164,12 @@ void saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *p *ptr++ = fill; } +/* ptr = pt->cpu; for(j=0;j<60;j++) { printk("ptr1 %d: 0x%08x\n",j,ptr[j]); } +*/ } /********************************************************************************/ |