modules: nrf_wifi: Remove co-ex GPIOs first
Before powering off remove co-ex GPIOs. Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
parent
9cd933e5b0
commit
2b0876c850
1 changed files with 8 additions and 6 deletions
|
@ -503,6 +503,13 @@ int rpu_disable(void)
|
|||
{
|
||||
int ret;
|
||||
|
||||
#ifdef CONFIG_NRF70_SR_COEX_RF_SWITCH
|
||||
ret = sr_gpio_remove();
|
||||
if (ret) {
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
|
||||
ret = rpu_pwroff();
|
||||
if (ret) {
|
||||
goto out;
|
||||
|
@ -512,12 +519,7 @@ int rpu_disable(void)
|
|||
goto out;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_NRF70_SR_COEX_RF_SWITCH
|
||||
ret = sr_gpio_remove();
|
||||
if (ret) {
|
||||
goto out;
|
||||
}
|
||||
#endif
|
||||
|
||||
qdev = NULL;
|
||||
cfg = NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue