qcacmn: Fix smmu fault for IPA TX buffer unmapped
It's regression of change: qcacmn: Fix smmu fault for tx buffer unmapped. Only 1 tx buffer is smmu mapped for IPA with it. During STA-SAP tethering, when IPA access 2nd tx buffer, smmu fault happens. Remove qdf_assert_always since it already exists in __dp_ipa_handle_buf_smmu_mapping. Change-Id: Ife8ed17d85a8bcfc507c312001af4b905c9b3a27 CRs-Fixed: 2937435
This commit is contained in:

committed by
Madan Koyyalamudi

parent
81c70ce74b
commit
2c9dd68894
@@ -195,8 +195,8 @@ static QDF_STATUS __dp_ipa_tx_buf_smmu_mapping(
|
|||||||
if (!nbuf)
|
if (!nbuf)
|
||||||
continue;
|
continue;
|
||||||
buf_len = qdf_nbuf_get_data_len(nbuf);
|
buf_len = qdf_nbuf_get_data_len(nbuf);
|
||||||
return __dp_ipa_handle_buf_smmu_mapping(
|
ret = __dp_ipa_handle_buf_smmu_mapping(soc, nbuf, buf_len,
|
||||||
soc, nbuf, buf_len, create);
|
create);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
@@ -682,7 +682,6 @@ static QDF_STATUS dp_ipa_tx_alt_buf_smmu_mapping(struct dp_soc *soc,
|
|||||||
buf_len = qdf_nbuf_get_data_len(nbuf);
|
buf_len = qdf_nbuf_get_data_len(nbuf);
|
||||||
ret = __dp_ipa_handle_buf_smmu_mapping(
|
ret = __dp_ipa_handle_buf_smmu_mapping(
|
||||||
soc, nbuf, buf_len, create);
|
soc, nbuf, buf_len, create);
|
||||||
qdf_assert_always(!ret);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user