Skip to content

Commit 7674a76

Browse files
committed
staging: bcm2835-codec: Downgrade the level for a debug message
The debug message from bcm2835_codec_buf_prepare when the buffer size is incorrect can be a little spammy if the application isn't careful on how it drives it, therefore drop the priority of the message. Signed-off-by: Dave Stevenson <[email protected]>
1 parent 652db48 commit 7674a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2883,7 +2883,7 @@ static int bcm2835_codec_buf_prepare(struct vb2_buffer *vb)
28832883
}
28842884

28852885
if (vb2_plane_size(vb, 0) < q_data->sizeimage) {
2886-
v4l2_err(&ctx->dev->v4l2_dev, "%s data will not fit into plane (%lu < %lu)\n",
2886+
v4l2_dbg(1, debug, &ctx->dev->v4l2_dev, "%s data will not fit into plane (%lu < %lu)\n",
28872887
__func__, vb2_plane_size(vb, 0),
28882888
(long)q_data->sizeimage);
28892889
return -EINVAL;

0 commit comments

Comments
 (0)