diff options
author | Matthew Garrett <mjg@redhat.com> | 2010-09-16 20:00:04 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 05:06:20 +0200 |
commit | 3dae8b41dc5651f8eb22cf310e8b116480ba25b7 (patch) | |
tree | 702f6352823e706b6a5d90111e1797cb726944b3 | |
parent | V4L/DVB: tda18271: Add some hint about what tda18217 reg ID returned (diff) | |
download | linux-3dae8b41dc5651f8eb22cf310e8b116480ba25b7.tar.xz linux-3dae8b41dc5651f8eb22cf310e8b116480ba25b7.zip |
V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo
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>
-rw-r--r-- | drivers/media/video/uvc/uvc_driver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c index 2ac85d8984f0..93d78f619875 100644 --- 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: |