]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: codecs: cros_ec_codec: name back to pcm_new()/pcm_free()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 16 Mar 2026 02:25:33 +0000 (02:25 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 16 Mar 2026 13:37:47 +0000 (13:37 +0000)
We have been used pcm_new()/pcm_free(), but switched to
pcm_construct()/pcm_destruct() to use extra parameters [1].

pcm_new()/free() had been removed [2], but each drivers are still
using such function naming. Let's name back to pcm_new()/pcm_free()
again.

[1] commit c64bfc906600 ("ASoC: soc-core: add new pcm_construct/pcmdestruct")
[2] commit e9067bb50278 ("ASoC: soc-component: remove snd_pcm_ops from component driver")

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/871phkldcq.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cros_ec_codec.c

index f78a85b89d955ec40091c5ab401d959df6a07cf9..7dc5a7c3ca96d9088f5eb56f6cf4015e5e6bcb2a 100644 (file)
@@ -948,7 +948,7 @@ static const struct snd_soc_component_driver wov_component_driver = {
        .hw_params      = wov_pcm_hw_params,
        .hw_free        = wov_pcm_hw_free,
        .pointer        = wov_pcm_pointer,
-       .pcm_construct  = wov_pcm_new,
+       .pcm_new        = wov_pcm_new,
 };
 
 static int cros_ec_codec_platform_probe(struct platform_device *pdev)