git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[media] soc_camera: remove the now obsolete struct soc_camera_ops
[pandora-kernel.git]
/
drivers
/
media
/
video
/
videobuf2-dma-sg.c
diff --git
a/drivers/media/video/videobuf2-dma-sg.c
b/drivers/media/video/videobuf2-dma-sg.c
index
065f468
..
3bad8b1
100644
(file)
--- a/
drivers/media/video/videobuf2-dma-sg.c
+++ b/
drivers/media/video/videobuf2-dma-sg.c
@@
-75,12
+75,6
@@
static void *vb2_dma_sg_alloc(void *alloc_ctx, unsigned long size)
printk(KERN_DEBUG "%s: Allocated buffer of %d pages\n",
__func__, buf->sg_desc.num_pages);
-
- if (!buf->vaddr)
- buf->vaddr = vm_map_ram(buf->pages,
- buf->sg_desc.num_pages,
- -1,
- PAGE_KERNEL);
return buf;
fail_pages_alloc: