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

Commit 213ebb41 authored by Ravinder Konka's avatar Ravinder Konka
Browse files

msm: ipa: Fix memory free issue



When calling dma_free_coherent, there is a possibility that
size 0 is passed as argument which can result into panic.
Make a change to check for the size before calling the API.

Change-Id: Idb248e1270b79b51e53de687793030a047fe6c73
Acked-by: default avatarChaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: default avatarRavinder Konka <rkonka@codeaurora.org>
parent 480aa758
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