diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-08-01 16:08:06 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-08-01 17:12:59 +0400 |
commit | 9356e9d51c80114fce2d7d8be99bce1d7e19d063 (patch) | |
tree | b510ee65c095dd5ceecc218023d9270a5f7a9f7d /include/sound | |
parent | 46a02c978fbc79de856d0fe7a8c1d4fc620796e0 (diff) | |
download | linux-9356e9d51c80114fce2d7d8be99bce1d7e19d063.tar.xz |
ASoC: dapm: Check return value of snd_soc_cnew()
snd_soc_cnew() can return NULL, so we should check the result before trying to
use it.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions