mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
icnss2: Clear SMP2P data during SSR
Clear smp2p data during subsystem down to prevent false smp2p notification to FW when subsystem is up. Change-Id: Iaa9a360e27a6e59d34ba9f02a28ce5dcf71ed0f5 Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
This commit is contained in:
parent
28255001cf
commit
bf935090f4
1 changed files with 9 additions and 0 deletions
|
|
@ -1198,6 +1198,15 @@ static int icnss_driver_event_pd_service_down(struct icnss_priv *priv,
|
|||
if (priv->force_err_fatal)
|
||||
ICNSS_ASSERT(0);
|
||||
|
||||
if (priv->device_id == WCN6750_DEVICE_ID) {
|
||||
priv->smp2p_info.seq = 0;
|
||||
if (qcom_smem_state_update_bits(
|
||||
priv->smp2p_info.smem_state,
|
||||
ICNSS_SMEM_VALUE_MASK,
|
||||
0))
|
||||
icnss_pr_dbg("Error in SMP2P sent ret: %d\n");
|
||||
}
|
||||
|
||||
icnss_send_hang_event_data(priv);
|
||||
|
||||
if (priv->early_crash_ind) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue