mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
linux: upgrade to linux-2.6.39-rc5-git2
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3ba4314836
commit
c2290b72fa
File diff suppressed because it is too large
Load Diff
@ -1,31 +0,0 @@
|
|||||||
===================================================================
|
|
||||||
--- linux-2.6.orig/drivers/base/power/main.c
|
|
||||||
+++ linux-2.6/drivers/base/power/main.c
|
|
||||||
@@ -63,6 +63,7 @@ void device_pm_init(struct device *dev)
|
|
||||||
dev->power.wakeup = NULL;
|
|
||||||
spin_lock_init(&dev->power.lock);
|
|
||||||
pm_runtime_init(dev);
|
|
||||||
+ INIT_LIST_HEAD(&dev->power.entry);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
Index: linux-2.6/drivers/base/power/wakeup.c
|
|
||||||
===================================================================
|
|
||||||
--- linux-2.6.orig/drivers/base/power/wakeup.c
|
|
||||||
+++ linux-2.6/drivers/base/power/wakeup.c
|
|
||||||
@@ -258,7 +258,7 @@ void device_set_wakeup_capable(struct de
|
|
||||||
if (!!dev->power.can_wakeup == !!capable)
|
|
||||||
return;
|
|
||||||
|
|
||||||
- if (device_is_registered(dev)) {
|
|
||||||
+ if (device_is_registered(dev) && !list_empty(&dev->power.entry)) {
|
|
||||||
if (capable) {
|
|
||||||
if (wakeup_sysfs_add(dev))
|
|
||||||
return;
|
|
||||||
--
|
|
||||||
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
|
|
||||||
the body of a message to majordomo@vger.kernel.org
|
|
||||||
More majordomo info at http://vger.kernel.org/majordomo-info.html
|
|
||||||
Please read the FAQ at http://www.tux.org/lkml/
|
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user