summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorCodrin Ciubotariu <codrin.ciubotariu@microchip.com>2021-06-18 18:07:40 +0300
committerMark Brown <broonie@kernel.org>2021-06-21 15:00:47 +0300
commit489a830a25e1730aebf7ff53430c170db9a1771b (patch)
tree1ade5033d00e4d370569c15989e780fbbb580f7a /sound
parent50b1ce617d66d04f1f9006e51793e6cffcdec6ea (diff)
downloadlinux-489a830a25e1730aebf7ff53430c170db9a1771b.tar.xz
ASoC: atmel-i2s: Set symmetric sample bits
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> Link: https://lore.kernel.org/r/20210618150741.401739-1-codrin.ciubotariu@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/atmel/atmel-i2s.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/atmel/atmel-i2s.c b/sound/soc/atmel/atmel-i2s.c
index 584656cc7d3c..48c158535ff6 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 = {