mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 13:32:07 -04:00
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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
8c42694150
commit
15486e0934
@@ -2127,10 +2127,10 @@ int uvc_ctrl_restore_values(struct uvc_device *dev)
|
||||
if (!ctrl->initialized || !ctrl->modified ||
|
||||
(ctrl->info.flags & UVC_CTRL_FLAG_RESTORE) == 0)
|
||||
continue;
|
||||
dev_info(&dev->udev->dev,
|
||||
"restoring control %pUl/%u/%u\n",
|
||||
ctrl->info.entity, ctrl->info.index,
|
||||
ctrl->info.selector);
|
||||
dev_dbg(&dev->udev->dev,
|
||||
"restoring control %pUl/%u/%u\n",
|
||||
ctrl->info.entity, ctrl->info.index,
|
||||
ctrl->info.selector);
|
||||
ctrl->dirty = 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user