summaryrefslogtreecommitdiffstats
path: root/sound/soc/uniphier/Makefile
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-10-27 00:09:56 +0000
committerMark Brown <broonie@kernel.org>2023-10-27 17:37:34 +0100
commitbd0f7498bc9084d8cccc5484cd004b40f314b763 (patch)
tree204dfc53f8dd6c6d54876de5418914dbb0c4b242 /sound/soc/uniphier/Makefile
parenta65cdffbef7bfdb9f55a3acb07ccf18d4f97b3a5 (diff)
downloadlinux-bd0f7498bc9084d8cccc5484cd004b40f314b763.tar.gz
linux-bd0f7498bc9084d8cccc5484cd004b40f314b763.tar.bz2
linux-bd0f7498bc9084d8cccc5484cd004b40f314b763.zip
ASoC: ams-delta.c: use component after check
static void cx81801_close() { ... (A) struct snd_soc_dapm_context *dapm = &component->card->dapm; ... (B) if (!component) return; } (A) uses component before NULL check (B). This patch moves it after (B). Fixes: d0fdfe34080c ("ASoC: cx20442: replace codec to component") Reported-by: Dan Carpenter <dan.carpenter@linaro.org> Closes: https://lore.kernel.org/r/3e608474-e99a-4866-ae98-3054a4221f09@moroto.mountain Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/87ttqdq623.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/uniphier/Makefile')
0 files changed, 0 insertions, 0 deletions