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: Mitchel Humpherys <mitchelh@codeaurora.org>
This commit is contained in:
Mitchel Humpherys 2015-01-13 12:14:26 -08:00 committed by David Keitel
parent 630d965c36
commit 57c6531afc

View file

@ -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",