[kernel] r15741 - in dists/trunk/linux-2.6/debian: . patches/bugfix/all patches/series

Maximilian Attems maks at alioth.debian.org
Tue May 18 14:05:44 UTC 2010


Author: maks
Date: Tue May 18 14:05:27 2010
New Revision: 15741

Log:
Enable autosuspend on UVC by default

fed up on waiting that this lands upstream, seen starting in F-12.

Added:
   dists/trunk/linux-2.6/debian/patches/bugfix/all/linux-2.6-usb-uvc-autosuspend.diff
Modified:
   dists/trunk/linux-2.6/debian/changelog
   dists/trunk/linux-2.6/debian/patches/series/base

Modified: dists/trunk/linux-2.6/debian/changelog
==============================================================================
--- dists/trunk/linux-2.6/debian/changelog	Tue May 18 14:03:19 2010	(r15740)
+++ dists/trunk/linux-2.6/debian/changelog	Tue May 18 14:05:27 2010	(r15741)
@@ -18,6 +18,7 @@
     USB_SERIAL_VIVOPAY_SERIAL, MMC_RICOH_MMC, LEDS_DELL_NETBOOKS, LOGFS.
   * [x86] Enable EEEPC_WMI.
   * Fix backlight support on some recent Thinkpads.
+  * Enable autosuspend on UVC by default.
   
   [ Ben Hutchings ]
   * Prepare debconf templates for translation (Closes: #576758)

Added: dists/trunk/linux-2.6/debian/patches/bugfix/all/linux-2.6-usb-uvc-autosuspend.diff
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/trunk/linux-2.6/debian/patches/bugfix/all/linux-2.6-usb-uvc-autosuspend.diff	Tue May 18 14:05:27 2010	(r15741)
@@ -0,0 +1,19 @@
+commit 9d4c919bcfa794c054cc33155c7e3c53ac2c5684
+Author: Matthew Garrett <mjg at redhat.com>
+Date:   Sun Jul 19 02:24:49 2009 +0100
+
+    Enable autosuspend on UVC by default
+
+diff --git a/drivers/media/video/uvc/uvc_driver.c b/drivers/media/video/uvc/uvc_driver.c
+index 89927b7..8de516b 100644
+--- a/drivers/media/video/uvc/uvc_driver.c
++++ b/drivers/media/video/uvc/uvc_driver.c
+@@ -1647,6 +1647,8 @@ static int uvc_probe(struct usb_interface *intf,
+ 			"supported.\n", ret);
+ 	}
+ 
++	usb_device_autosuspend_enable(udev);
++
+ 	uvc_trace(UVC_TRACE_PROBE, "UVC device initialized.\n");
+ 	return 0;
+ 

Modified: dists/trunk/linux-2.6/debian/patches/series/base
==============================================================================
--- dists/trunk/linux-2.6/debian/patches/series/base	Tue May 18 14:03:19 2010	(r15740)
+++ dists/trunk/linux-2.6/debian/patches/series/base	Tue May 18 14:05:27 2010	(r15741)
@@ -71,3 +71,4 @@
 + bugfix/x86/sis-agp-Remove-SIS-760-handled-by-amd64-agp.patch
 + bugfix/x86/amd64-agp-Probe-unknown-AGP-devices-the-right-way.patch
 + bugfix/all/thinkpad-acpi-fix-backlight.patch
++ bugfix/all/linux-2.6-usb-uvc-autosuspend.diff



More information about the Kernel-svn-changes mailing list