summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@chromium.org>2019-11-26 09:12:17 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-03-12 17:21:57 +0100
commit2362a3d189fcc54252c6bda9579bd17bea5cc2f7 (patch)
tree18a689516f5b4449c7fd391d9b2ec2d4e7fa8c78 /drivers/media
parentmedia: imx214: Remove redundant code (diff)
downloadlinux-2362a3d189fcc54252c6bda9579bd17bea5cc2f7.tar.xz
linux-2362a3d189fcc54252c6bda9579bd17bea5cc2f7.zip
media: videobuf2-core: fix dprintk level
This dprintk is supposed to be informational, not an error. Set it to the same level as the other messages related to memory allocations so the kernel log does not get filled by messages during normal operation. Signed-off-by: Alexandre Courbot <acourbot@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/common/videobuf2/videobuf2-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/common/videobuf2/videobuf2-core.c b/drivers/media/common/videobuf2/videobuf2-core.c
index 4489744fbbd9..44d65f5be845 100644
--- a/drivers/media/common/videobuf2/videobuf2-core.c
+++ b/drivers/media/common/videobuf2/videobuf2-core.c
@@ -393,8 +393,8 @@ static int __vb2_queue_alloc(struct vb2_queue *q, enum vb2_memory memory,
}
}
- dprintk(1, "allocated %d buffers, %d plane(s) each\n",
- buffer, num_planes);
+ dprintk(3, "allocated %d buffers, %d plane(s) each\n",
+ buffer, num_planes);
return buffer;
}