Browse Source

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>
Matthew Garrett 14 years ago
parent
commit
3dae8b41dc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/media/video/uvc/uvc_driver.c

+ 1 - 0
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: