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

Skip to content
Commit bdd03e17 authored by Prudhvi Yarlagadda's avatar Prudhvi Yarlagadda Committed by Gerrit - the friendly Code Review server
Browse files

slim-msm.c: Check for iommu dev before dma_free_coherent



Add a check for iommu device handler before doing dma_free_coherent
as a part of SSR clean up.
This fixes the kernel page table corruption happening due to wrong
device handler used during freeing the resources during SSR cleanup.
This change ensures we use same dev handle for allocating and
freeing the DMA memory.

Change-Id: Ic42d42446dd9954f9c1fc7d282b03d1fa4bc4980
Signed-off-by: default avatarPrudhvi Yarlagadda <pyarlaga@codeaurora.org>
parent d4afd5e4
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