modules: nrf_wifi: Improve power down sequence

Swap the order, IOVDD should be powered first and then BUCKEN.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2025-06-17 22:01:04 +05:30 committed by Dan Kalowsky
commit 9cd933e5b0

View file

@ -260,18 +260,18 @@ static int rpu_pwroff(void)
{
int ret;
ret = gpio_pin_set_dt(&bucken_spec, 0); /* BUCKEN = 0 */
if (ret) {
LOG_ERR("BUCKEN GPIO set failed...");
return ret;
}
ret = gpio_pin_set_dt(&iovdd_ctrl_spec, 0); /* IOVDD CNTRL = 0 */
if (ret) {
LOG_ERR("IOVDD GPIO set failed...");
return ret;
}
ret = gpio_pin_set_dt(&bucken_spec, 0); /* BUCKEN = 0 */
if (ret) {
LOG_ERR("BUCKEN GPIO set failed...");
return ret;
}
return ret;
}