projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfc3d57
)
V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo
author
Matthew Garrett
<mjg@redhat.com>
Thu, 16 Sep 2010 18:00:04 +0000
(15:00 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:20 +0000
(
01:06
-0200)
We've been doing this for a while in Fedora without any complaints.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_driver.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/uvc/uvc_driver.c
b/drivers/media/video/uvc/uvc_driver.c
index 2ac85d8984f025cb0ec9933f87bf00e91bf656dd..93d78f61987524b191a7037059c0a4d827c27a16 100644
(file)
--- a/
drivers/media/video/uvc/uvc_driver.c
+++ b/
drivers/media/video/uvc/uvc_driver.c
@@
-1820,6
+1820,7
@@
static int uvc_probe(struct usb_interface *intf,
}
uvc_trace(UVC_TRACE_PROBE, "UVC device initialized.\n");
+ usb_enable_autosuspend(udev);
return 0;
error: