summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/uvc/uvc_driver.c
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2010-09-16 15:00:04 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 01:06:20 -0200
commit3dae8b41dc5651f8eb22cf310e8b116480ba25b7 (patch)
tree702f6352823e706b6a5d90111e1797cb726944b3 /drivers/media/video/uvc/uvc_driver.c
parentbfc3d57ff75a6ac34cc4b88a4abd6d6d9ef32e73 (diff)
downloadlinux-3dae8b41dc5651f8eb22cf310e8b116480ba25b7.tar.gz
linux-3dae8b41dc5651f8eb22cf310e8b116480ba25b7.tar.bz2
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>
Diffstat (limited to 'drivers/media/video/uvc/uvc_driver.c')
-rw-r--r--drivers/media/video/uvc/uvc_driver.c1
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: