diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2014-08-21 10:54:43 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-08-21 11:03:20 -0400 |
commit | 6bc17375d2e787e5c7ef94bfb4e194b6c690a4a7 (patch) | |
tree | 0a2bf1304ec2b341eb8308280019baffe2eba583 | |
parent | 0854611a19ae4dfa56569e6f640017a1d2dd3312 (diff) |
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 <m.grzeschik@pengutronix.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
-rw-r--r-- | drivers/usb/gadget/function/uvc_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
171 | break; | 171 | break; |
172 | 172 | ||
173 | case -ESHUTDOWN: /* disconnect from host. */ | 173 | case -ESHUTDOWN: /* disconnect from host. */ |
174 | printk(KERN_INFO "VS request cancelled.\n"); | 174 | printk(KERN_DEBUG "VS request cancelled.\n"); |
175 | uvc_queue_cancel(queue, 1); | 175 | uvc_queue_cancel(queue, 1); |
176 | goto requeue; | 176 | goto requeue; |
177 | 177 | ||