mirror of
https://git.yoctoproject.org/poky
synced 2026-09-15 15:49:32 +02:00
linux-moblin: add 2.6.33.2 kernel from MeeGo 1.0
Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
19
meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6-usb-uvc-autosuspend.patch
vendored
Normal file
19
meta-moblin/packages/linux/linux-moblin-2.6.33.2/linux-2.6-usb-uvc-autosuspend.patch
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
commit 9d4c919bcfa794c054cc33155c7e3c53ac2c5684
|
||||
Author: Matthew Garrett <mjg@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;
|
||||
|
||||
Reference in New Issue
Block a user