aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatthew Garrett <mjg@redhat.com>2010-09-16 14:00:04 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:06:20 -0400
commit3dae8b41dc5651f8eb22cf310e8b116480ba25b7 (patch)
tree702f6352823e706b6a5d90111e1797cb726944b3 /drivers
parentbfc3d57ff75a6ac34cc4b88a4abd6d6d9ef32e73 (diff)
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')
-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,
1820 } 1820 }
1821 1821
1822 uvc_trace(UVC_TRACE_PROBE, "UVC device initialized.\n"); 1822 uvc_trace(UVC_TRACE_PROBE, "UVC device initialized.\n");
1823 usb_enable_autosuspend(udev);
1823 return 0; 1824 return 0;
1824 1825
1825error: 1826error: