]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: qcom: sm8250: correct typo in shutdown function name
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 10 Oct 2024 05:04:51 +0000 (07:04 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 10 Oct 2024 11:16:36 +0000 (12:16 +0100)
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>
sound/soc/qcom/sm8250.c

index 19adadedc88a2aa42b0c4f73320c7fe911fa8f06..91e9bba192c0819fee31b1d43a64b42fc6958e12 100644 (file)
@@ -78,7 +78,7 @@ static int sm8250_snd_startup(struct snd_pcm_substream *substream)
        return qcom_snd_sdw_startup(substream);
 }
 
-static void sm2450_snd_shutdown(struct snd_pcm_substream *substream)
+static void sm8250_snd_shutdown(struct snd_pcm_substream *substream)
 {
        struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
        struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
@@ -123,7 +123,7 @@ static int sm8250_snd_hw_free(struct snd_pcm_substream *substream)
 
 static const struct snd_soc_ops sm8250_be_ops = {
        .startup = sm8250_snd_startup,
-       .shutdown = sm2450_snd_shutdown,
+       .shutdown = sm8250_snd_shutdown,
        .hw_params = sm8250_snd_hw_params,
        .hw_free = sm8250_snd_hw_free,
        .prepare = sm8250_snd_prepare,