mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
linux: pm: disable async suspend/resume by default
fixes some (not all) suspend/resume issues. tested in irc by Desmoss900 ref #2862
This commit is contained in:
parent
2dbffe4a67
commit
24c8cea759
25
packages/linux/patches/3.14/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch
vendored
Normal file
25
packages/linux/patches/3.14/linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From c314d9af9d774c052bea324e1a140ccdba0ca070 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Stefan Saraev <stefan@saraev.ca>
|
||||||
|
Date: Tue, 8 Apr 2014 14:02:53 +0300
|
||||||
|
Subject: [PATCH] pm: disable async suspend/resume by default
|
||||||
|
|
||||||
|
---
|
||||||
|
kernel/power/main.c | 2 +-
|
||||||
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/kernel/power/main.c b/kernel/power/main.c
|
||||||
|
index 1d1bf63..361db93 100644
|
||||||
|
--- a/kernel/power/main.c
|
||||||
|
+++ b/kernel/power/main.c
|
||||||
|
@@ -46,7 +46,7 @@ int pm_notifier_call_chain(unsigned long val)
|
||||||
|
}
|
||||||
|
|
||||||
|
/* If set, devices may be suspended and resumed asynchronously. */
|
||||||
|
-int pm_async_enabled = 1;
|
||||||
|
+int pm_async_enabled = 0;
|
||||||
|
|
||||||
|
static ssize_t pm_async_show(struct kobject *kobj, struct kobj_attribute *attr,
|
||||||
|
char *buf)
|
||||||
|
--
|
||||||
|
1.7.2.5
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user