diff mbox series

[1/2] ASoC: atmel: atmel_ssc_dai: Add stream names

Message ID 20240916085214.11083-2-andrei.simion@microchip.com
State New
Headers show
Series Updates for mchp-spdif(tx/rx) | expand

Commit Message

Andrei Simion Sept. 16, 2024, 8:52 a.m. UTC
From: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>

Add required stream names for DPCM and future use-cases.

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

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Andrei Simion <andrei.simion@microchip.com>
---
 sound/soc/atmel/atmel_ssc_dai.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Alexandre Belloni Sept. 16, 2024, 10 a.m. UTC | #1
On 16/09/2024 11:52:14+0300, Andrei Simion wrote:
> From: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
> 
> Add required stream names for DPCM and future use-cases.
> 
> [andrei.simion@microchip.com: Adjust commit title. Reword commit message.]
> 
> Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
> Signed-off-by: Andrei Simion <andrei.simion@microchip.com>

Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> ---
>  sound/soc/atmel/atmel_ssc_dai.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
> index 3763454436c1..7047f17fe7a8 100644
> --- a/sound/soc/atmel/atmel_ssc_dai.c
> +++ b/sound/soc/atmel/atmel_ssc_dai.c
> @@ -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,
> -- 
> 2.34.1
>
diff mbox series

Patch

diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
index 3763454436c1..7047f17fe7a8 100644
--- a/sound/soc/atmel/atmel_ssc_dai.c
+++ b/sound/soc/atmel/atmel_ssc_dai.c
@@ -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,