Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6bc17375 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Felipe Balbi
Browse files

usb: gadget: uvc: Change KERN_INFO to KERN_DEBUG on request shutdown



The disconnect of the USB Device is a common pattern for
an UVC Camera. In many cases this will give us an meaningless
information for all buffers that couldn't be enqueued.
That patch changes this to KERN_DEBUG.

Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 0854611a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ uvc_video_complete(struct usb_ep *ep, struct usb_request *req)
		break;

	case -ESHUTDOWN:	/* disconnect from host. */
		printk(KERN_INFO "VS request cancelled.\n");
		printk(KERN_DEBUG "VS request cancelled.\n");
		uvc_queue_cancel(queue, 1);
		goto requeue;