]> 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)
commitb7d599f8eea68f799cd73588cd0c7342617fa6cf
tree36ba2b3e537554e788b304b8e8ce3d164189d284
parentee08cdb2e9e04f71a3888290314322432877aa18
parente9d141b7dcd3de5e346ef16d6ebcc5582c7be489
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