Commit a725d0f6 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Greg Kroah-Hartman

usb: gadget: uvc: call uvc uvcg_warn on completed status instead of uvcg_info

Likewise to the uvcvideo hostside driver, this patch is changing the
usb_request message of an non zero completion handler call from dev_info
to dev_warn.
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20220529223848.105914-4-m.grzeschik@pengutronix.deSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 87d76b5f
...@@ -261,7 +261,7 @@ uvc_video_complete(struct usb_ep *ep, struct usb_request *req) ...@@ -261,7 +261,7 @@ uvc_video_complete(struct usb_ep *ep, struct usb_request *req)
break; break;
default: default:
uvcg_info(&video->uvc->func, uvcg_warn(&video->uvc->func,
"VS request completed with status %d.\n", "VS request completed with status %d.\n",
req->status); req->status);
uvcg_queue_cancel(queue, 0); uvcg_queue_cancel(queue, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment