Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: qcom: sm8250: correct typo in shutdown function name

The function is for sm8250, so fix the odd number in "sm2450" prefix for
soc ops shutdown callback. No functional impact.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20241010050451.11913-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
2aab7d18 970d299b

+2 -2
+2 -2
sound/soc/qcom/sm8250.c
··· 78 78 return qcom_snd_sdw_startup(substream); 79 79 } 80 80 81 - static void sm2450_snd_shutdown(struct snd_pcm_substream *substream) 81 + static void sm8250_snd_shutdown(struct snd_pcm_substream *substream) 82 82 { 83 83 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 84 84 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); ··· 123 123 124 124 static const struct snd_soc_ops sm8250_be_ops = { 125 125 .startup = sm8250_snd_startup, 126 - .shutdown = sm2450_snd_shutdown, 126 + .shutdown = sm8250_snd_shutdown, 127 127 .hw_params = sm8250_snd_hw_params, 128 128 .hw_free = sm8250_snd_hw_free, 129 129 .prepare = sm8250_snd_prepare,