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:

committed by
Madan Koyyalamudi

parent
4cb1ee5c0c
commit
5b31c536c4
@@ -722,7 +722,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)
|
||||
|
@@ -1390,6 +1390,7 @@ enum qdf_suspend_type {
|
||||
* @QDF_HAL_REG_WRITE_FAILURE: HAL register writing failures
|
||||
* @QDF_SUSPEND_NO_CREDIT: host lack of credit after suspend
|
||||
* @QCA_HANG_BUS_FAILURE: Bus failure
|
||||
* @QDF_TASKLET_CREDIT_LATENCY_DETECT: tasklet or credit latency happened
|
||||
*/
|
||||
enum qdf_hang_reason {
|
||||
QDF_REASON_UNSPECIFIED,
|
||||
@@ -1416,6 +1417,7 @@ enum qdf_hang_reason {
|
||||
QDF_HAL_REG_WRITE_FAILURE,
|
||||
QDF_SUSPEND_NO_CREDIT,
|
||||
QCA_HANG_BUS_FAILURE,
|
||||
QDF_TASKLET_CREDIT_LATENCY_DETECT,
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user