media: videobuf2-core: fix dprintk level
authorAlexandre Courbot <acourbot@chromium.org>
Tue, 26 Nov 2019 08:12:17 +0000 (09:12 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 12 Mar 2020 16:21:57 +0000 (17:21 +0100)
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>
drivers/media/common/videobuf2/videobuf2-core.c

index 4489744..44d65f5 100644 (file)
@@ -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;
 }