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

Skip to content
Commit cd483fcb authored by Arun Menon's avatar Arun Menon Committed by Stephen Boyd
Browse files

msm: vidc: error handling for ion_map_iommu calls



Added a check for non-zero virtual address.
Without this change, when ion_map_iommu returns a
zero virtual address, video core continuous ahead
without error check and later target reset happens
when trying to do a ion_unmap_iommu on the above fd,
which was never mapped.

Change-Id: Ifb400c5dd2cb859c43a0fe712298acaa6a663fec
Signed-off-by: default avatarArun Menon <menon@codeaurora.org>
parent f2496158
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