Skip to content
Commit 16c50dcf authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Will Deacon
Browse files

iommu/arm-smmu: Return 0 on unmap failure



The IOMMU core expects the unmap operation to return the number of bytes
that have been unmapped or 0 on failure, a negative return value being
treated like a number of bytes.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent c9eaa447
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment