From: Matthew Garrett Date: Thu, 16 Sep 2010 18:00:04 +0000 (-0300) Subject: V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3dae8b41dc5651f8eb22cf310e8b116480ba25b7;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c index 2ac85d8984f..93d78f61987 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: