From: Michael Grzeschik <[email protected]>

The disconnect of the USB Device is an 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 <[email protected]>
---
 drivers/usb/gadget/uvc_video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/gadget/uvc_video.c b/drivers/usb/gadget/uvc_video.c
index 1f66888..4c3ac31 100644
--- a/drivers/usb/gadget/uvc_video.c
+++ b/drivers/usb/gadget/uvc_video.c
@@ -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;
 
-- 
1.8.2.rc2

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to