diff options
author | Guilherme G. Piccoli <gpiccoli@igalia.com> | 2023-11-22 16:44:58 -0300 |
---|---|---|
committer | Vicki Pfau <vi@endrift.com> | 2024-01-02 19:09:38 -0800 |
commit | fb1cd1182563ca03b80f12ee5c95bebbcaee5380 (patch) | |
tree | ded946af982b3f16ea9ae9b6d0f0a26fa68fb9eb | |
parent | 203c8216d7ac798112c1358f7ad3602715ff11ff (diff) | |
download | linux-fb1cd1182563ca03b80f12ee5c95bebbcaee5380.tar.gz |
(NOT-FOR-UPSTREAM) PM: suspend: Also disable s2idle on Galileo (OLED Deck)
Reports are that s2idle might also be bogus on Galileo - since S3/deep is tested and working, let's include the new HW in the s2idle ban. Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com> (cherry picked from commit f65259f588545c8e811a3ca4e34c2a172969dbd7)
-rw-r--r-- | kernel/power/suspend.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index e614b865a099..77cd4418a9a6 100644 --- a/kernel/power/suspend.c +++ b/kernel/power/suspend.c @@ -196,7 +196,8 @@ void __init pm_states_init(void) product_name = dmi_get_system_info(DMI_PRODUCT_NAME); if (sys_vendor && (!strncmp("Valve", sys_vendor, 5)) && - product_name && (!strncmp("Jupiter", product_name, 7))) { + ((product_name && (!strncmp("Jupiter", product_name, 7))) || + (product_name && (!strncmp("Galileo", product_name, 7))))) { s2idle_unsupported = true; pr_info("Steam Deck quirk - no s2idle allowed!\n"); } |