]> Gentwo Git Trees - linux/.git/commit
ASoC: meson: aiu-encoder-i2s: fix bit clock polarity
authorValerio Setti <vsetti@baylibre.com>
Mon, 6 Oct 2025 22:12:19 +0000 (00:12 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Oct 2025 12:19:43 +0000 (13:19 +0100)
commit4c4ed5e073a923fb3323022e1131cb51ad8df7a0
treecc25ae0f31dc6cf171f1578e988d3692cdffe986
parentaaab61de1f1e44a2ab527e935474e2e03a0f6b08
ASoC: meson: aiu-encoder-i2s: fix bit clock polarity

According to I2S specs audio data is sampled on the rising edge of the
clock and it can change on the falling one. When operating in normal mode
this SoC behaves the opposite so a clock polarity inversion is required
in this case.

This was tested on an OdroidC2 (Amlogic S905 SoC) board.

Signed-off-by: Valerio Setti <vsetti@baylibre.com>
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://patch.msgid.link/20251007-fix-i2s-polarity-v1-1-86704d9cda10@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/aiu-encoder-i2s.c