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>
This commit is contained in:
Alexandre Courbot 2019-11-26 09:12:17 +01:00 committed by Mauro Carvalho Chehab
parent 791b7be14e
commit 2362a3d189
1 changed files with 2 additions and 2 deletions

View 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;
}