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

Skip to content
Commit b7cb3d76 authored by Aravind Kumar's avatar Aravind Kumar Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: qdsp6v2: handle ion alloc failure correctly



When ion alloc fails for audio or system heap, an
error pointer is returned which gets dereferenced
causing a crash.
Get the error number from the error pointer returned
using the PTR_ERR api.

CRs-Fixed: 799946
Change-Id: Ic96738cdf8fe8fa8ef4767081846d77173fdd3b7
Signed-off-by: default avatarAravind Kumar <akumark@codeaurora.org>
parent e1c50d95
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