aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videobuf2-memops.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2011-06-01 16:19:22 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:52:23 -0400
commit7f116b3ea908e277132fd68c5ff4c46284ae2d97 (patch)
tree1c2f062af00576a14002bce78c255962e45edb24 /drivers/media/video/videobuf2-memops.c
parent147b68cd7e093ea576280a2961734a74ee7e7090 (diff)
[media] V4L/videobuf2-memops: use pr_debug for debug messages
Otherwise they clutter the dmesg buffer even on a production kernel. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/videobuf2-memops.c')
-rw-r--r--drivers/media/video/videobuf2-memops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/videobuf2-memops.c b/drivers/media/video/videobuf2-memops.c
index 5370a3a7ee25..1987e1b13b95 100644
--- a/drivers/media/video/videobuf2-memops.c
+++ b/drivers/media/video/videobuf2-memops.c
@@ -177,7 +177,7 @@ int vb2_mmap_pfn_range(struct vm_area_struct *vma, unsigned long paddr,
177 177
178 vma->vm_ops->open(vma); 178 vma->vm_ops->open(vma);
179 179
180 printk(KERN_DEBUG "%s: mapped paddr 0x%08lx at 0x%08lx, size %ld\n", 180 pr_debug("%s: mapped paddr 0x%08lx at 0x%08lx, size %ld\n",
181 __func__, paddr, vma->vm_start, size); 181 __func__, paddr, vma->vm_start, size);
182 182
183 return 0; 183 return 0;
@@ -195,7 +195,7 @@ static void vb2_common_vm_open(struct vm_area_struct *vma)
195{ 195{
196 struct vb2_vmarea_handler *h = vma->vm_private_data; 196 struct vb2_vmarea_handler *h = vma->vm_private_data;
197 197
198 printk(KERN_DEBUG "%s: %p, refcount: %d, vma: %08lx-%08lx\n", 198 pr_debug("%s: %p, refcount: %d, vma: %08lx-%08lx\n",
199 __func__, h, atomic_read(h->refcount), vma->vm_start, 199 __func__, h, atomic_read(h->refcount), vma->vm_start,
200 vma->vm_end); 200 vma->vm_end);
201 201
@@ -213,7 +213,7 @@ static void vb2_common_vm_close(struct vm_area_struct *vma)
213{ 213{
214 struct vb2_vmarea_handler *h = vma->vm_private_data; 214 struct vb2_vmarea_handler *h = vma->vm_private_data;
215 215
216 printk(KERN_DEBUG "%s: %p, refcount: %d, vma: %08lx-%08lx\n", 216 pr_debug("%s: %p, refcount: %d, vma: %08lx-%08lx\n",
217 __func__, h, atomic_read(h->refcount), vma->vm_start, 217 __func__, h, atomic_read(h->refcount), vma->vm_start,
218 vma->vm_end); 218 vma->vm_end);
219 219