All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] uvc: Enable USB autosuspend by default on uvcvideo
@ 2010-09-16 18:00 Matthew Garrett
  2010-09-16 18:45 ` Greg KH
  2010-09-16 22:45 ` Laurent Pinchart
  0 siblings, 2 replies; 5+ messages in thread
From: Matthew Garrett @ 2010-09-16 18:00 UTC (permalink / raw)
  To: laurent.pinchart; +Cc: linux-media, linux-usb, Matthew Garrett

We've been doing this for a while in Fedora without any complaints.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
---
 drivers/media/video/uvc/uvc_driver.c |    1 +
 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 8bdd940..28ed5b4 100644
--- a/drivers/media/video/uvc/uvc_driver.c
+++ b/drivers/media/video/uvc/uvc_driver.c
@@ -1814,6 +1814,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:
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-09-16 22:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-16 18:00 [PATCH] uvc: Enable USB autosuspend by default on uvcvideo Matthew Garrett
2010-09-16 18:45 ` Greg KH
2010-09-16 18:53   ` Matthew Garrett
2010-09-16 19:08     ` Greg KH
2010-09-16 22:45 ` Laurent Pinchart

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.