ap_pwrseq: Use correct polled power signals
Ensure that the correct power signal is used
when clearing the initial state of the power signals.
TEST=zmake build nivviks
BRANCH=none
@@ -310,7 +310,7 @@ void power_signal_init(void)
* don't get OR'ed in later on.
*/
for (int i = 0; i < ARRAY_SIZE(polled_signals); i++) {
- atomic_clear_bit(&power_signals, i);
+ atomic_clear_bit(&power_signals, polled_signals[i]);
}
/*
* Save the current state so that new changes can be
