diff options
-rw-r--r-- | power/rk3399.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/power/rk3399.c b/power/rk3399.c index 3c35b6e3fb..29d5b51051 100644 --- a/power/rk3399.c +++ b/power/rk3399.c @@ -144,9 +144,11 @@ enum power_state power_handle_state(enum power_state state) /* * Wait up to PGOOD_AP_DEBOUNCE_TIMEOUT for IN_PGOOD_AP to - * come back before transitioning back to S3. + * come back before transitioning back to S3. PGOOD_SYS can + * also glitch, with a glitch duration < 1ms, so debounce + * it here as well. */ - if (power_wait_signals_timeout(IN_PGOOD_AP, + if (power_wait_signals_timeout(IN_PGOOD_AP | IN_PGOOD_SYS, PGOOD_AP_DEBOUNCE_TIMEOUT) == EC_ERROR_TIMEOUT) return POWER_S0S3; |