diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-06-08 00:22:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-06-08 14:36:25 +0200 |
commit | 468a272ca49cc4e2f58f3c360643c3f6d313c146 (patch) | |
tree | 33d198a87f14b348d6debb02a3417d0c0efc7471 /sound/soc/codecs/wm5100.h | |
parent | ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin (diff) | |
download | linux-468a272ca49cc4e2f58f3c360643c3f6d313c146.tar.xz linux-468a272ca49cc4e2f58f3c360643c3f6d313c146.zip |
ASoC: max98373-sdw: add missing memory allocation check
We forgot to test that devm_kcalloc doesn't return NULL.
Fixes: 349dd23931d1 ('ASoC: max98373: don't access volatile registers in bias level off')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Bard Liao <bard.liao@intel.com>
Link: https://lore.kernel.org/r/20210607222239.582139-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm5100.h')
0 files changed, 0 insertions, 0 deletions