Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b07be3d6 authored by jiad's avatar jiad
Browse files

cnss2: set iova_start and iova_stop to 0



Set iova_start and iova_stop to 0 when SMMU S1 is not enabled.

Change-Id: I37fe32db5bed8b741c0ba2f2657ae6b13d9c0f12
Signed-off-by: default avatarjiad <jiad@codeaurora.org>
parent 6e191ffb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2714,8 +2714,8 @@ static int cnss_pci_register_mhi(struct cnss_pci_data *pci_priv)
		mhi_ctrl->iova_stop = pci_priv->smmu_iova_start +
					pci_priv->smmu_iova_len;
	} else {
		mhi_ctrl->iova_start = memblock_start_of_DRAM();
		mhi_ctrl->iova_stop = memblock_end_of_DRAM();
		mhi_ctrl->iova_start = 0;
		mhi_ctrl->iova_stop = 0;
	}

	mhi_ctrl->link_status = cnss_mhi_link_status;