Skip to content

Commit

Permalink
power: Do not reset KBLED state
Browse files Browse the repository at this point in the history
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 <tcrawford@system76.com>
  • Loading branch information
crawfxrd committed Mar 27, 2023
1 parent 6731e9c commit 4d5cda0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/board/system76/common/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <board/config.h>
#include <board/fan.h>
#include <board/gpio.h>
#include <board/kbled.h>
#include <board/lid.h>
#include <board/peci.h>
#include <board/power.h>
Expand Down Expand Up @@ -345,7 +344,6 @@ void power_cpu_reset(void) {
// Reset fans
fan_reset();
//TODO: reset KBC and touchpad states
kbled_reset();
// Set PL4
power_set_limit();
}
Expand Down

0 comments on commit 4d5cda0

Please sign in to comment.