Skip to content
Commit bc8784f3 authored by Maxime Ripard's avatar Maxime Ripard Committed by Joerg Roedel
Browse files

iommu/sun50i: Change the readl timeout to the atomic variant



The flush_all_tlb call back can be called from an atomic context, so using
readl_poll_timeout that embeds a udelay doesn't work.

Fixes: 4100b8c2 ("iommu: Add Allwinner H6 IOMMU driver")
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200628180844.79205-1-maxime@cerno.tech


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 9ebcfadb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment