|
@@ -307,7 +307,8 @@ static int cnss_wlfw_host_cap_send_sync(struct cnss_plat_data *plat_priv)
|
|
|
req->cal_done = plat_priv->cal_done;
|
|
|
cnss_pr_dbg("Calibration done is %d\n", plat_priv->cal_done);
|
|
|
|
|
|
- if (!cnss_bus_get_iova(plat_priv, &iova_start, &iova_size) &&
|
|
|
+ if (cnss_bus_is_smmu_s1_enabled(plat_priv) &&
|
|
|
+ !cnss_bus_get_iova(plat_priv, &iova_start, &iova_size) &&
|
|
|
!cnss_bus_get_iova_ipa(plat_priv, &iova_ipa_start,
|
|
|
&iova_ipa_size)) {
|
|
|
req->ddr_range_valid = 1;
|