Skip to content

Commit

Permalink
ASoC: atmel-i2s: Set symmetric sample bits
Browse files Browse the repository at this point in the history
[ Upstream commit 489a830 ]

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

Fixes: b543e46 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
codrin989 authored and gregkh committed Jul 14, 2021
1 parent f779dc8 commit 49d0c57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/atmel/atmel-i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 49d0c57

Please sign in to comment.