mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
qcacld-3.0: Do not invoke pld_power_off during the module exit
Platform driver takes care of power off sequence during the module exit. Do not invoke the pld_power_off during the unload sequence. Change-Id: Ib6d2e192849076acb60e0e6ebbbb9e5ed5938c2b CRs-Fixed: 1093190
This commit is contained in:
parent
66f937362a
commit
649c009002
1 changed files with 1 additions and 1 deletions
|
|
@ -7883,7 +7883,7 @@ int hdd_wlan_stop_modules(hdd_context_t *hdd_ctx)
|
|||
|
||||
ol_cds_free();
|
||||
|
||||
if (!cds_is_driver_recovering()) {
|
||||
if (!cds_is_driver_recovering() && !cds_is_driver_unloading()) {
|
||||
ret = pld_power_off(qdf_ctx->dev);
|
||||
if (ret)
|
||||
hdd_err("CNSS power down failed put device into Low power mode:%d",
|
||||
|
|
|
|||
Loading…
Reference in a new issue