Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: vb2: core: Lower the log level of debug outputs

Some debug output whose log level is set 1 flooded the log.
Their log level is lowered to find the important log easily.

Signed-off-by: Hirokazu Honda <hiroh@chromium.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

authored by

Hirokazu Honda and committed by
Mauro Carvalho Chehab
07ca2d4c cfaf384b

+5 -5
+5 -5
drivers/media/v4l2-core/videobuf2-core.c
··· 1139 1139 continue; 1140 1140 } 1141 1141 1142 - dprintk(1, "buffer for plane %d changed\n", plane); 1142 + dprintk(3, "buffer for plane %d changed\n", plane); 1143 1143 1144 1144 if (!reacquired) { 1145 1145 reacquired = true; ··· 1298 1298 /* Fill buffer information for the userspace */ 1299 1299 call_void_bufop(q, fill_user_buffer, vb, pb); 1300 1300 1301 - dprintk(1, "prepare of buffer %d succeeded\n", vb->index); 1301 + dprintk(2, "prepare of buffer %d succeeded\n", vb->index); 1302 1302 1303 1303 return ret; 1304 1304 } ··· 1428 1428 return ret; 1429 1429 } 1430 1430 1431 - dprintk(1, "qbuf of buffer %d succeeded\n", vb->index); 1431 + dprintk(2, "qbuf of buffer %d succeeded\n", vb->index); 1432 1432 return 0; 1433 1433 } 1434 1434 EXPORT_SYMBOL_GPL(vb2_core_qbuf); ··· 1476 1476 } 1477 1477 1478 1478 if (nonblocking) { 1479 - dprintk(1, "nonblocking and no buffers to dequeue, will not wait\n"); 1479 + dprintk(3, "nonblocking and no buffers to dequeue, will not wait\n"); 1480 1480 return -EAGAIN; 1481 1481 } 1482 1482 ··· 1623 1623 /* go back to dequeued state */ 1624 1624 __vb2_dqbuf(vb); 1625 1625 1626 - dprintk(1, "dqbuf of buffer %d, with state %d\n", 1626 + dprintk(2, "dqbuf of buffer %d, with state %d\n", 1627 1627 vb->index, vb->state); 1628 1628 1629 1629 return 0;