commit | 7638f5288b03e4add8e43b747adfde124f6c131e | [log] [tgz] |
---|---|---|
author | David Brown <davidb@codeaurora.org> | Thu Mar 15 14:00:16 2012 -0700 |
committer | David Brown <davidb@codeaurora.org> | Thu Mar 15 14:00:16 2012 -0700 |
tree | ff9d8a844d70faa9ed686761d763783e402cc50f | |
parent | d463d7b0f0f8e30dc7a8e2d5db94297aa23ed645 [diff] |
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: David Brown <davidb@codeaurora.org>