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

media: uvcvideo: Don't spam the log in uvc_ctrl_restore_values()

Don't report the restored controls with dev_info, use dev_dbg instead.
This prevents a lot of noise in the kernel log.

Reviewed-by: Ricardo Ribalda <ribalda@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
15486e09 8c426941

+4 -4
+4 -4
drivers/media/usb/uvc/uvc_ctrl.c
··· 2127 2127 if (!ctrl->initialized || !ctrl->modified || 2128 2128 (ctrl->info.flags & UVC_CTRL_FLAG_RESTORE) == 0) 2129 2129 continue; 2130 - dev_info(&dev->udev->dev, 2131 - "restoring control %pUl/%u/%u\n", 2132 - ctrl->info.entity, ctrl->info.index, 2133 - ctrl->info.selector); 2130 + dev_dbg(&dev->udev->dev, 2131 + "restoring control %pUl/%u/%u\n", 2132 + ctrl->info.entity, ctrl->info.index, 2133 + ctrl->info.selector); 2134 2134 ctrl->dirty = 1; 2135 2135 } 2136 2136