]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: atmel: mchp-i2s-mcc: Remove interface name from stream_name
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Mon, 9 Sep 2024 08:35:29 +0000 (11:35 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 9 Sep 2024 17:26:47 +0000 (18:26 +0100)
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: 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/20240909083530.14695-2-andrei.simion@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/mchp-i2s-mcc.c

index 35a56b266b8d4638a09f0e781435b3ee432d10c8..f40508668ac5b08e23d91d2d631b56e2abecf395 100644 (file)
@@ -936,14 +936,14 @@ static const struct snd_soc_dai_ops mchp_i2s_mcc_dai_ops = {
 
 static struct snd_soc_dai_driver mchp_i2s_mcc_dai = {
        .playback = {
-               .stream_name = "I2SMCC-Playback",
+               .stream_name = "Playback",
                .channels_min = 1,
                .channels_max = 8,
                .rates = MCHP_I2SMCC_RATES,
                .formats = MCHP_I2SMCC_FORMATS,
        },
        .capture = {
-               .stream_name = "I2SMCC-Capture",
+               .stream_name = "Capture",
                .channels_min = 1,
                .channels_max = 8,
                .rates = MCHP_I2SMCC_RATES,