188-ASoC-atmel-i2s-Set-symmetric-sample-bits.patch 970 B

1234567891011121314151617181920212223242526
  1. From a6f337fdf68294cfae233724567cbeea0ae5148f Mon Sep 17 00:00:00 2001
  2. From: Codrin Ciubotariu <[email protected]>
  3. Date: Fri, 18 Jun 2021 18:07:40 +0300
  4. Subject: [PATCH 188/247] ASoC: atmel-i2s: Set symmetric sample bits
  5. The I2S needs to have the same sample bits for both capture and playback
  6. streams.
  7. Fixes: b543e467d1a9 ("ASoC: atmel-i2s: add driver for the new Atmel I2S controller")
  8. Signed-off-by: Codrin Ciubotariu <[email protected]>
  9. Link: https://lore.kernel.org/r/[email protected]
  10. Signed-off-by: Mark Brown <[email protected]>
  11. ---
  12. sound/soc/atmel/atmel-i2s.c | 1 +
  13. 1 file changed, 1 insertion(+)
  14. --- a/sound/soc/atmel/atmel-i2s.c
  15. +++ b/sound/soc/atmel/atmel-i2s.c
  16. @@ -560,6 +560,7 @@ static struct snd_soc_dai_driver atmel_i
  17. },
  18. .ops = &atmel_i2s_dai_ops,
  19. .symmetric_rates = 1,
  20. + .symmetric_samplebits = 1,
  21. };
  22. static const struct snd_soc_component_driver atmel_i2s_component = {