]> git.baikalelectronics.ru Git - kernel.git/commit
Merge series "ASoC: meson: axg: fix TDM channel order sync" from Jerome Brunet <jbrun...
authorMark Brown <broonie@kernel.org>
Sat, 23 Oct 2021 13:32:19 +0000 (14:32 +0100)
committerMark Brown <broonie@kernel.org>
Sat, 23 Oct 2021 13:32:19 +0000 (14:32 +0100)
commitef3ff44a1be73526161045b58942b7163d82da3f
tree36ba2b3e537554e788b304b8e8ce3d164189d284
parent9671eabb2e6d1a48c0867897d287a958e3c4756f
parentc97d3959035352ae99dde47303cea2d9e3c928d6
Merge series "ASoC: meson: axg: fix TDM channel order sync" from Jerome Brunet <jbrunet@baylibre.com>:

On the Amlogic AXG series, the TODDR FIFO may get out of sync with the TDM
decoder if the decoder is started before the FIFO. The channel appears
shifted in memory in an unpredictable way.

To fix this, the trick is to start the FIFO before the TDM decoder. This
way the FIFO is already waiting when the 1st channel is produced and it is
correctly placed in memory.

Jerome Brunet (2):
  ASoC: meson: axg-card: make links nonatomic
  ASoC: meson: axg-tdm-interface: manage formatters in trigger

 sound/soc/meson/axg-card.c          |  1 +
 sound/soc/meson/axg-tdm-interface.c | 26 +++++++++++++++++++++-----
 2 files changed, 22 insertions(+), 5 deletions(-)

--
2.33.0