mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacmn: trigger recovery in hif_check_detection_latency
Replace as qdf_trigger_self_recovery here, so it can trigger fw dump firstly. Change-Id: I39e3bc11829a1969ac60bd3bbd71f3e2d1fa4f43 CRs-Fixed: 2928096
This commit is contained in:
parent
1226299545
commit
570e8e9dcb
2 changed files with 3 additions and 1 deletions
|
|
@ -713,7 +713,7 @@ void hif_check_detection_latency(struct hif_softc *scn,
|
|||
return;
|
||||
|
||||
latency:
|
||||
qdf_check_state_before_panic(__func__, __LINE__);
|
||||
qdf_trigger_self_recovery(NULL, QDF_TASKLET_CREDIT_LATENCY_DETECT);
|
||||
}
|
||||
|
||||
static void hif_latency_detect_timeout_handler(void *arg)
|
||||
|
|
|
|||
|
|
@ -1351,6 +1351,7 @@ enum qdf_suspend_type {
|
|||
* @QDF_WMI_BUF_SEQUENCE_MISMATCH: WMI Tx completion buffer sequence mismatch
|
||||
* @QDF_HAL_REG_WRITE_FAILURE: HAL register writing failures
|
||||
* @QDF_SUSPEND_NO_CREDIT: host lack of credit after suspend
|
||||
* @QDF_TASKLET_CREDIT_LATENCY_DETECT: tasklet or credit latency happened
|
||||
*/
|
||||
enum qdf_hang_reason {
|
||||
QDF_REASON_UNSPECIFIED,
|
||||
|
|
@ -1376,6 +1377,7 @@ enum qdf_hang_reason {
|
|||
QDF_WMI_BUF_SEQUENCE_MISMATCH,
|
||||
QDF_HAL_REG_WRITE_FAILURE,
|
||||
QDF_SUSPEND_NO_CREDIT,
|
||||
QDF_TASKLET_CREDIT_LATENCY_DETECT,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue