projects/Amlogic: update kernel config

Most of changes are related to Nougat kernel update and aligning config to other projects.

Some of the options are required to add S912-on-libhybris:
* CONFIG_HMP_VARIABLE_SCALE
* CONFIG_NR_CPUS
* CONFIG_ARM_BIG_LITTLE_CPUFREQ
* CONFIG_FB_OSD_SUPPORT_SYNC_FENCE
* CONFIG_FB_OSD2_CURSOR
* CONFIG_ASHMEM
* CONFIG_SW_SYNC
* CONFIG_PSTORE
This commit is contained in:
kszaq 2018-01-09 19:54:27 +01:00
parent 64b21c2ce5
commit 80c9546099
2 changed files with 322 additions and 292 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +0,0 @@
diff --git a/kernel/power/main.c b/kernel/power/main.c
index dd56bc8..6e73ad4 100644
--- a/kernel/power/main.c
+++ b/kernel/power/main.c
@@ -362,6 +362,9 @@ static ssize_t state_store(struct kobject *kobj, struct kobj_attribute *attr,
error = 0;
request_suspend_state(state);
}
+ if (state == PM_SUSPEND_MEM) {
+ msleep_interruptible(5000);
+ }
#else
error = pm_suspend(state);
#endif