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:
parent
41664ebda0
commit
9cd933e5b0
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user