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

Skip to content
Commit fe1229b9 authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/tegra: smmu: Use helper function to check for valid register offset



Do not repeat the checking loop in the read and write
functions. Use a single helper function for that check and
call it in both accessors.

Signed-off-by: default avatarJoerg Roedel <joro@8bytes.org>
parent a6870e92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment