Commit 7638f528 authored by David Brown's avatar David Brown
Browse files

msm: audio: qdsp6v2 Fix error handling in memory registration



Three instances of incorrect error path handling.  The first two
didn't initialize the 'result' variable before return (reported by Rob
Clark <rob.clark@linaro.org>).  The third was comparing the address of
a local variable against NULL, which will never be true.

Change-Id: Ia318c9331cc0ff896c4073389f3e666fa19eb4af
Signed-off-by: default avatarDavid Brown <davidb@codeaurora.org>
parent d463d7b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment