mbox series

[0/2] Use v4l2_info/v4l2_warn/v4l2_dbg for log

Message ID 20211207014147.226-1-jammy_huang@aspeedtech.com (mailing list archive)
Headers show
Series Use v4l2_info/v4l2_warn/v4l2_dbg for log | expand

Message

Jammy Huang Dec. 7, 2021, 1:41 a.m. UTC
In this seris, v4l2_xxx log macro will be adapted.
With v4l2_dbg, the debug level can be set with the module parameter
called debug. In this way, we won't have to see all debug logs together.
To many log could have bad influence on the rate to reproduce some
issues as well.

Some logs are added, and more is coming for aspeed-format.

Jammy Huang (2):
  media: aspeed: use v4l2_info/v4l2_warn/v4l2_dbg for log
  media: aspeed: add more debug log messages

 drivers/media/platform/aspeed-video.c | 64 ++++++++++++++++++++-------
 1 file changed, 47 insertions(+), 17 deletions(-)