From 9d134aabe0b0724b89fa760b4efb359844b9ad08 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Mon, 27 Mar 2023 14:49:44 -0600 Subject: [PATCH] power: Do not reset KBLED state Do not reset the keyboard backlight on CPU wake. This fixes keyboard backlight turning off and becoming white on wake from sleep. Signed-off-by: Tim Crawford --- src/board/system76/common/power/intel.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/board/system76/common/power/intel.c b/src/board/system76/common/power/intel.c index 9e3dd4846..bf40e17d8 100644 --- a/src/board/system76/common/power/intel.c +++ b/src/board/system76/common/power/intel.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include @@ -345,7 +344,6 @@ void power_cpu_reset(void) { fan_reset(); //TODO: reset touchpad states kbc_reset(); - kbled_reset(); // Set PL4 //TODO: if this returns false, retry? power_peci_limit(