]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: atmel: mchp-spdifrx: Remove interface name from stream_name
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Mon, 16 Sep 2024 09:10:57 +0000 (12:10 +0300)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:09:44 +0000 (01:09 +0200)
Remove the interface name from the stream_name. The interface name (and the
index of the interface) can be set in DT using the sound-name-prefix string
property.

[andrei.simion@microchip.com: Adjust the commit title.]

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Andrei Simion <andrei.simion@microchip.com>
Link: https://patch.msgid.link/20240916091056.11910-3-andrei.simion@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/mchp-spdifrx.c

index b2507a1491b714a4108c9ea2ee23f6e206bc0ae2..fb820609c043d07f477f17234545519a9d1070da 100644 (file)
@@ -1014,7 +1014,7 @@ static const struct snd_soc_dai_ops mchp_spdifrx_dai_ops = {
 static struct snd_soc_dai_driver mchp_spdifrx_dai = {
        .name = "mchp-spdifrx",
        .capture = {
-               .stream_name = "S/PDIF Capture",
+               .stream_name = "Capture",
                .channels_min = SPDIFRX_CHANNELS,
                .channels_max = SPDIFRX_CHANNELS,
                .rates = MCHP_SPDIF_RATES,