Only watch SUSPWRDNACK for primary plane state
This commit is contained in:
parent
5402fa33df
commit
0426c066b6
@ -254,8 +254,7 @@ void power_event(void) {
|
|||||||
|
|
||||||
// EC must keep VccPRIM powered if SUSPWRDNACK is de-asserted low or system
|
// EC must keep VccPRIM powered if SUSPWRDNACK is de-asserted low or system
|
||||||
// state is S3
|
// state is S3
|
||||||
bool primary = !gpio_get(&SUSWARN_N) || !gpio_get(&SUSB_N_PCH);
|
if (!gpio_get(&SUSWARN_N)) {
|
||||||
if (primary) {
|
|
||||||
if (state == POWER_STATE_DS5) {
|
if (state == POWER_STATE_DS5) {
|
||||||
power_on_s5();
|
power_on_s5();
|
||||||
state = POWER_STATE_DS5;
|
state = POWER_STATE_DS5;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user