Browse Source

qcacld-3.0: Call qdf_check_state_before_panic with additional debug info

Call qdf_check_state_before_panic with caller function name and
line number details.

Change-Id: I9fb4b382576e52bc1ad7e316bd09e3124e8fce98
CRs-Fixed: 2857671
Karthik Kantamneni 4 năm trước cách đây
mục cha
commit
99413b37c4
2 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 2 2
      core/dp/txrx3.0/dp_fisa_rx.c
  2. 2 2
      core/dp/txrx3.0/dp_rx_fst.c

+ 2 - 2
core/dp/txrx3.0/dp_fisa_rx.c

@@ -816,7 +816,7 @@ void dp_fisa_rx_fst_update_work(void *arg)
 
 	if (hif_force_wake_request(((struct hal_soc *)hal_soc_hdl)->hif_handle)) {
 		dp_err("Wake up request failed");
-		qdf_check_state_before_panic();
+		qdf_check_state_before_panic(__func__, __LINE__);
 		return;
 	}
 
@@ -832,7 +832,7 @@ void dp_fisa_rx_fst_update_work(void *arg)
 
 	if (hif_force_wake_release(((struct hal_soc *)hal_soc_hdl)->hif_handle)) {
 		dp_err("Wake up release failed");
-		qdf_check_state_before_panic();
+		qdf_check_state_before_panic(__func__, __LINE__);
 		return;
 	}
 }

+ 2 - 2
core/dp/txrx3.0/dp_rx_fst.c

@@ -47,7 +47,7 @@ void dp_rx_dump_fisa_table(struct dp_soc *soc)
 
 	if (hif_force_wake_request(((struct hal_soc *)hal_soc_hdl)->hif_handle)) {
 		dp_err("Wake up request failed");
-		qdf_check_state_before_panic();
+		qdf_check_state_before_panic(__func__, __LINE__);
 		return;
 	}
 
@@ -57,7 +57,7 @@ void dp_rx_dump_fisa_table(struct dp_soc *soc)
 
 	if (hif_force_wake_release(((struct hal_soc *)hal_soc_hdl)->hif_handle)) {
 		dp_err("Wake up release failed");
-		qdf_check_state_before_panic();
+		qdf_check_state_before_panic(__func__, __LINE__);
 		return;
 	}
 }