commit | 57e33781ce5aaab86b4db7799f3505988b5226e2 | [log] [tgz] |
---|---|---|
author | Sachin Kamat <sachin.kamat@linaro.org> | Fri Jan 24 16:23:22 2014 +0530 |
committer | Mark Brown <broonie@linaro.org> | Fri Jan 24 13:18:03 2014 +0000 |
tree | 602bdf0e797248acbd1ccd0d03e794c872a3e277 | |
parent | 9b35a7b65f15ac8769619146ab12933ffa5dcaf8 [diff] |
ASoC: samsung: Add NULL check in i2s.c 'res' could be NULL from one of the operations above (line 1243). Thus check 'res' for NULL before releasing the region to avoid null pointer dereference. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>