]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: meson: axg-tdm-formatters: fix sclk inversion
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 29 Jul 2020 15:44:55 +0000 (17:44 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 30 Jul 2020 18:45:01 +0000 (19:45 +0100)
commitbab260c4df31ab7b0f413ebc370060088805f882
treea0283de0767c42e5c9f2cb49180658ffbe96286c
parenta862082997dd89002cc56cd9908f44ec160a0b26
ASoC: meson: axg-tdm-formatters: fix sclk inversion

After carefully checking, it appears that both tdmout and tdmin require the
rising edge of the sclk they get to be synchronized with the frame sync
event (which should be a rising edge of lrclk).

TDMIN was improperly set before this patch. Remove the sclk_invert quirk
which is no longer needed and fix the sclk phase.

Fixes: f5b7372005aa ("ASoC: meson: add tdm formatter base driver")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20200729154456.1983396-4-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/axg-tdm-formatter.c
sound/soc/meson/axg-tdm-formatter.h
sound/soc/meson/axg-tdmin.c
sound/soc/meson/axg-tdmout.c