]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: gadget: uvc: Change KERN_INFO to KERN_DEBUG on request shutdown
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Thu, 21 Aug 2014 14:54:43 +0000 (16:54 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 21 Aug 2014 15:03:20 +0000 (10:03 -0500)
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: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/uvc_video.c

index 71e896d4c5ae481d189e582609d8cb456a8187c3..beba9168614af792df4ba52973e6ffc660de6002 100644 (file)
@@ -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;