qcacmn: Extend qdf_trigger_self_recovery to include psoc granularity

To undergo self recovery, the driver uses qdf_trigger_self_recovery to
initiate the sequence. Currently, this framework is valid for only a
single psoc driver.

Extend this framework to include support for multiple psoc driver by
providing the psoc on which the recovery has to be undertaken.

Change-Id: I782b505c03819223a914dabe7673b369aa175b7c
CRs-Fixed: 2617707
This commit is contained in:
Sourav Mohapatra
2020-02-07 10:22:36 +05:30
committed by nshrivas
parent 1b11ea9161
commit 1f21eadadf
4 changed files with 17 additions and 24 deletions

View File

@@ -1829,7 +1829,8 @@ QDF_STATUS wmi_unified_cmd_send_fl(wmi_unified_t wmi_handle, wmi_buf_t buf,
func, line, wmi_handle->wmi_max_cmds);
wmi_unified_debug_dump(wmi_handle);
htc_ce_tasklet_debug_dump(wmi_handle->htc_handle);
qdf_trigger_self_recovery(QDF_WMI_EXCEED_MAX_PENDING_CMDS);
qdf_trigger_self_recovery(wmi_handle->soc->wmi_psoc,
QDF_WMI_EXCEED_MAX_PENDING_CMDS);
return QDF_STATUS_E_BUSY;
}