We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ebcfad commit bc8784fCopy full SHA for bc8784f
drivers/iommu/sun50i-iommu.c
@@ -313,9 +313,9 @@ static int sun50i_iommu_flush_all_tlb(struct sun50i_iommu *iommu)
313
IOMMU_TLB_FLUSH_MICRO_TLB(1) |
314
IOMMU_TLB_FLUSH_MICRO_TLB(0));
315
316
- ret = readl_poll_timeout(iommu->base + IOMMU_TLB_FLUSH_REG,
317
- reg, !reg,
318
- 1, 2000);
+ ret = readl_poll_timeout_atomic(iommu->base + IOMMU_TLB_FLUSH_REG,
+ reg, !reg,
+ 1, 2000);
319
if (ret)
320
dev_warn(iommu->dev, "TLB Flush timed out!\n");
321
0 commit comments