Skip to content

Commit

Permalink
V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Garrett authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent bfc3d57 commit 3dae8b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/video/uvc/uvc_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3dae8b4

Please sign in to comment.