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

Configure Feed

Select the types of activity you want to include in your feed.

media: uvcvideo: Replace dev_dbg() with uvc_dbg()

The uvcvideo driver uses a uvc_dbg() macro that supports enabling debug
message categories selectively, and prints a KERN_DEBUG message. The
macro is used through the driver, but one direct dev_dbg() call creeped
in. Replace it with uvc_dbg().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Signed-off-by: Hans de Goede <johannes.goede@oss.qualcomm.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>

authored by

Laurent Pinchart and committed by
Hans Verkuil
85883141 b70886ff

+1 -2
+1 -2
drivers/media/usb/uvc/uvc_ctrl.c
··· 2929 2929 if (!ctrl->initialized || !ctrl->modified || 2930 2930 (ctrl->info.flags & UVC_CTRL_FLAG_RESTORE) == 0) 2931 2931 continue; 2932 - dev_dbg(&dev->intf->dev, 2933 - "restoring control %pUl/%u/%u\n", 2932 + uvc_dbg(dev, CONTROL, "restoring control %pUl/%u/%u\n", 2934 2933 ctrl->info.entity, ctrl->info.index, 2935 2934 ctrl->info.selector); 2936 2935 ctrl->dirty = 1;