linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ASoC: atmel-i2s: Set symmetric sample bits
@ 2021-06-18 15:07 Codrin Ciubotariu
  2021-06-18 15:07 ` [PATCH 2/2] ASoC: atmel-i2s: Fix usage of capture and playback at the same time Codrin Ciubotariu
  2021-06-21 18:45 ` [PATCH 1/2] ASoC: atmel-i2s: Set symmetric sample bits Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Codrin Ciubotariu @ 2021-06-18 15:07 UTC (permalink / raw)
  To: alsa-devel, linux-arm-kernel, linux-kernel
  Cc: alexandre.belloni, tiwai, ludovic.desroches, broonie,
	Codrin Ciubotariu, perex

The I2S needs to have the same sample bits for both capture and playback
streams.

Fixes: b543e467d1a9 ("ASoC: atmel-i2s: add driver for the new Atmel I2S controller")
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
---
 sound/soc/atmel/atmel-i2s.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/atmel/atmel-i2s.c b/sound/soc/atmel/atmel-i2s.c
index e8fe1a7a4d83..a95002b0cc8e 100644
--- a/sound/soc/atmel/atmel-i2s.c
+++ b/sound/soc/atmel/atmel-i2s.c
@@ -542,6 +542,7 @@ static struct snd_soc_dai_driver atmel_i2s_dai = {
 	},
 	.ops = &atmel_i2s_dai_ops,
 	.symmetric_rate = 1,
+	.symmetric_sample_bits = 1,
 };
 
 static const struct snd_soc_component_driver atmel_i2s_component = {
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-21 18:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-18 15:07 [PATCH 1/2] ASoC: atmel-i2s: Set symmetric sample bits Codrin Ciubotariu
2021-06-18 15:07 ` [PATCH 2/2] ASoC: atmel-i2s: Fix usage of capture and playback at the same time Codrin Ciubotariu
2021-06-21 18:45 ` [PATCH 1/2] ASoC: atmel-i2s: Set symmetric sample bits Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).