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

ASoC: atmel: mchp-i2s-mcc: Remove interface name from stream_name

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>

authored by

Codrin Ciubotariu and committed by
Mark Brown
b09c71f3 130eb72d

+2 -2
+2 -2
sound/soc/atmel/mchp-i2s-mcc.c
··· 936 936 937 937 static struct snd_soc_dai_driver mchp_i2s_mcc_dai = { 938 938 .playback = { 939 - .stream_name = "I2SMCC-Playback", 939 + .stream_name = "Playback", 940 940 .channels_min = 1, 941 941 .channels_max = 8, 942 942 .rates = MCHP_I2SMCC_RATES, 943 943 .formats = MCHP_I2SMCC_FORMATS, 944 944 }, 945 945 .capture = { 946 - .stream_name = "I2SMCC-Capture", 946 + .stream_name = "Capture", 947 947 .channels_min = 1, 948 948 .channels_max = 8, 949 949 .rates = MCHP_I2SMCC_RATES,