mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Merge "icnss2: Do not clear SHUTDOWN_DONE flag until reinit is done"
This commit is contained in:
commit
79f084ee9e
1 changed files with 2 additions and 2 deletions
|
|
@ -717,7 +717,7 @@ out:
|
|||
|
||||
static int icnss_pd_restart_complete(struct icnss_priv *priv)
|
||||
{
|
||||
int ret;
|
||||
int ret = 0;
|
||||
|
||||
icnss_pm_relax(priv);
|
||||
|
||||
|
|
@ -757,7 +757,6 @@ static int icnss_pd_restart_complete(struct icnss_priv *priv)
|
|||
goto out_power_off;
|
||||
}
|
||||
|
||||
out:
|
||||
icnss_block_shutdown(false);
|
||||
clear_bit(ICNSS_SHUTDOWN_DONE, &priv->state);
|
||||
return 0;
|
||||
|
|
@ -768,6 +767,7 @@ call_probe:
|
|||
out_power_off:
|
||||
icnss_hw_power_off(priv);
|
||||
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue