|
|
@ -151,14 +151,14 @@ configuresuspendsettingsandwakeupsources() |
|
|
|
"enabled" |
|
|
|
"enabled" |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// Enable IRQ wakeup source (incoming call) 5.8
|
|
|
|
// Enable IRQ wakeup source (incoming call) 5.10
|
|
|
|
fprintf(stderr, "Enable 5.8 IRQ wakeup source\n"); |
|
|
|
fprintf(stderr, "Enable 5.10 IRQ wakeup source\n"); |
|
|
|
writefile( |
|
|
|
writefile( |
|
|
|
"/sys/devices/platform/gpio-keys/power/wakeup", |
|
|
|
"/sys/devices/platform/gpio-keys/power/wakeup", |
|
|
|
"enabled" |
|
|
|
"enabled" |
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
// Enable IRQ wakeup source (incoming call) 5.9
|
|
|
|
// Enable IRQ wakeup source (incoming call) 5.9 (no longer exists in 5.10)
|
|
|
|
fprintf(stderr, "Enable 5.9 IRQ wakeup source\n"); |
|
|
|
fprintf(stderr, "Enable 5.9 IRQ wakeup source\n"); |
|
|
|
writefile( |
|
|
|
writefile( |
|
|
|
"/sys/devices/platform/soc/1c28c00.serial/serial1/serial1-0/power/wakeup", |
|
|
|
"/sys/devices/platform/soc/1c28c00.serial/serial1/serial1-0/power/wakeup", |
|
|
|