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

Commit 42a4503d authored by Mitchel Humpherys's avatar Mitchel Humpherys Committed by Matt Wagantall
Browse files

iommu/arm-smmu: adjust readl_poll_timeout_atomic time



The meaning of the arguments to readl_poll_timeout_atomic have changed
since the arm-smmu code was written that uses it.  Sync up to the new
API semantics.

Change-Id: Ibdcd53fb61303e1261f7f6378b3395700ce38b6e
Signed-off-by: default avatarMitchel Humpherys <mitchelh@codeaurora.org>
parent c85c7c9f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1861,7 +1861,7 @@ static phys_addr_t arm_smmu_iova_to_phys_hard(struct iommu_domain *domain,
	}

	if (readl_poll_timeout_atomic(cb_base + ARM_SMMU_CB_ATSR, tmp,
				!(tmp & ATSR_ACTIVE), 10, 5)) {
				!(tmp & ATSR_ACTIVE), 5, 50)) {
		spin_unlock_irqrestore(&smmu_domain->lock, flags);
		dev_err(dev,
			"iova to phys timed out on 0x%pa. Falling back to software table walk.\n",