From: Michael Grzeschik Date: Thu, 21 Aug 2014 14:54:43 +0000 (+0200) Subject: usb: gadget: uvc: Change KERN_INFO to KERN_DEBUG on request shutdown X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6bc17375d2e787e5c7ef94bfb4e194b6c690a4a7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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: Michael Grzeschik Signed-off-by: Laurent Pinchart Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/function/uvc_video.c b/drivers/usb/gadget/function/uvc_video.c index 71e896d4c5ae..beba9168614a 100644 --- a/drivers/usb/gadget/function/uvc_video.c +++ b/drivers/usb/gadget/function/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;