Skip to content

Commit a725d0f

Browse files
mgrzeschikgregkh
authored andcommitted
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: Laurent Pinchart <[email protected]> Signed-off-by: Michael Grzeschik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 87d76b5 commit a725d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/gadget/function/uvc_video.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ uvc_video_complete(struct usb_ep *ep, struct usb_request *req)
261261
break;
262262

263263
default:
264-
uvcg_info(&video->uvc->func,
264+
uvcg_warn(&video->uvc->func,
265265
"VS request completed with status %d.\n",
266266
req->status);
267267
uvcg_queue_cancel(queue, 0);

0 commit comments

Comments
 (0)