mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
Merge "qcacld-3.0: Mask sdio host controller interrupts in shutdown"
This commit is contained in:
commit
4ad62144be
1 changed files with 8 additions and 4 deletions
|
|
@ -486,6 +486,13 @@ static void wlan_hdd_shutdown(void)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!hif_ctx) {
|
||||
hdd_err("Failed to get HIF context, ignore SSR shutdown");
|
||||
return;
|
||||
}
|
||||
/* mask the host controller interrupts */
|
||||
hif_mask_interrupt_call(hif_ctx);
|
||||
|
||||
if (cds_is_load_or_unload_in_progress()) {
|
||||
hdd_err("Load/unload in progress, ignore SSR shutdown");
|
||||
return;
|
||||
|
|
@ -498,10 +505,7 @@ static void wlan_hdd_shutdown(void)
|
|||
hdd_err("Host is not ready for SSR, attempting anyway");
|
||||
|
||||
if (!QDF_IS_EPPING_ENABLED(cds_get_conparam())) {
|
||||
if (!hif_ctx)
|
||||
hdd_err("Invalid hif ctx!");
|
||||
else
|
||||
hif_disable_isr(hif_ctx);
|
||||
hif_disable_isr(hif_ctx);
|
||||
hdd_wlan_shutdown();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue