Skip to content

Commit 9cd933e

Browse files
krish2718dkalowsk
authored andcommitted
modules: nrf_wifi: Improve power down sequence
Swap the order, IOVDD should be powered first and then BUCKEN. Signed-off-by: Chaitanya Tata <[email protected]>
1 parent 41664eb commit 9cd933e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/nrf_wifi/bus/rpu_hw_if.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -260,15 +260,15 @@ static int rpu_pwroff(void)
260260
{
261261
int ret;
262262

263-
ret = gpio_pin_set_dt(&bucken_spec, 0); /* BUCKEN = 0 */
263+
ret = gpio_pin_set_dt(&iovdd_ctrl_spec, 0); /* IOVDD CNTRL = 0 */
264264
if (ret) {
265-
LOG_ERR("BUCKEN GPIO set failed...");
265+
LOG_ERR("IOVDD GPIO set failed...");
266266
return ret;
267267
}
268268

269-
ret = gpio_pin_set_dt(&iovdd_ctrl_spec, 0); /* IOVDD CNTRL = 0 */
269+
ret = gpio_pin_set_dt(&bucken_spec, 0); /* BUCKEN = 0 */
270270
if (ret) {
271-
LOG_ERR("IOVDD GPIO set failed...");
271+
LOG_ERR("BUCKEN GPIO set failed...");
272272
return ret;
273273
}
274274

0 commit comments

Comments
 (0)