diff options
author | Frank Li <Frank.Li@freescale.com> | 2010-08-23 14:32:28 +0800 |
---|---|---|
committer | Andy Voltz <andy.voltz@timesys.com> | 2011-06-01 13:18:27 -0400 |
commit | 577c52aba37dc6884acf81d7b20e150e0ce86393 (patch) | |
tree | 41de020ffdb3a8e90e827b8419420df64ebb36e7 /drivers/media | |
parent | 91715df74a7844724a1a3979f10bcc771eeb5ac1 (diff) |
ENGR00127171-3 DMA: Fix DMA build error.
Revert "ENGR00114911 make video buffer cacheable to improve video performance"
to fix build error
This reverts commit 34aadc593a85e475d885db12a7faa0bdd9e11277.
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/videobuf-dma-contig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/videobuf-dma-contig.c b/drivers/media/video/videobuf-dma-contig.c index 67a3df14250e..74730c624cfc 100644 --- a/drivers/media/video/videobuf-dma-contig.c +++ b/drivers/media/video/videobuf-dma-contig.c @@ -306,7 +306,7 @@ static int __videobuf_mmap_mapper(struct videobuf_queue *q, size = vma->vm_end - vma->vm_start; size = (size < mem->size) ? size : mem->size; - vma->vm_page_prot = pgprot_writethru(vma->vm_page_prot); + vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); retval = remap_pfn_range(vma, vma->vm_start, mem->dma_handle >> PAGE_SHIFT, size, vma->vm_page_prot); |