OSDN Git Service

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)
commit866d744434f1d93b6bbf3012074b5e458beee826
tree36ba2b3e537554e788b304b8e8ce3d164189d284
parente7ee1ac4ecb5114d60b8ead333b6d52cdcf78862
parentbf5e4887eeddb48480568466536aa08ec7f179a5
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