Skip to content

Commit

Permalink
board/system76/cmn/power.c: always power off in S5
Browse files Browse the repository at this point in the history
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
  • Loading branch information
mkopec committed Mar 6, 2025
1 parent a61eef6 commit 50f8ede
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/board/system76/common/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,9 +667,7 @@ void power_event(void) {
{
// Disable S5 power plane if not needed
if (power_state == POWER_STATE_S5) {
if (gpio_get(&ACIN_N)) {
power_off();
}
power_off();

#if CONFIG_SECURITY
// Handle security state changes if necessary
Expand Down

0 comments on commit 50f8ede

Please sign in to comment.