qcacmn: use proper HAL abtraction APIs to get WBM internal error

the current HAL API is to read the WBM internal error
bit from the wbm release ring descriptor is always taking
HKv1 HW structure. But the wbm_internal_error bit
placement has changed from HKv2, for this reason we have
to use target specific HAL API.

Change-Id: I44789180754ca21ae59650b6d8620321a1f12569
This commit is contained in:
Tallapragada Kalyan
2019-12-12 19:38:16 +05:30
committed by nshrivas
parent ccf5b37f7d
commit fa6f80fcad
10 changed files with 34 additions and 11 deletions

View File

@@ -3544,9 +3544,9 @@ more_data:
* completion ring. These errors are not related to
* Tx completions, and should just be ignored
*/
wbm_internal_error =
hal_get_wbm_internal_error(tx_comp_hal_desc);
wbm_internal_error = hal_get_wbm_internal_error(
soc->hal_soc,
tx_comp_hal_desc);
if (wbm_internal_error) {
dp_err_rl("Tx comp wbm_internal_error!!");