]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: atmel: atmel_ssc_dai: Add stream names
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>
Mon, 16 Sep 2024 13:19:09 +0000 (16:19 +0300)
committerMark Brown <broonie@kernel.org>
Sun, 29 Sep 2024 23:09:36 +0000 (01:09 +0200)
Add required stream names for DPCM and future use-cases.

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

Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Andrei Simion <andrei.simion@microchip.com>
Link: https://patch.msgid.link/20240916131910.22680-2-andrei.simion@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/atmel_ssc_dai.c

index 3763454436c15756960701bea651fa7db9e35fe8..7047f17fe7a8954d3c4f4cf7b3ee6706a7a88c0a 100644 (file)
@@ -836,6 +836,7 @@ static const struct snd_soc_dai_ops atmel_ssc_dai_ops = {
 
 static struct snd_soc_dai_driver atmel_ssc_dai = {
                .playback = {
+                       .stream_name = "Playback",
                        .channels_min = 1,
                        .channels_max = 2,
                        .rates = SNDRV_PCM_RATE_CONTINUOUS,
@@ -843,6 +844,7 @@ static struct snd_soc_dai_driver atmel_ssc_dai = {
                        .rate_max = 384000,
                        .formats = ATMEL_SSC_FORMATS,},
                .capture = {
+                       .stream_name = "Capture",
                        .channels_min = 1,
                        .channels_max = 2,
                        .rates = SNDRV_PCM_RATE_CONTINUOUS,