diff options
| author | James Calligeros <jcalligeros99@gmail.com> | 2026-10-31 14:56:15 +1000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-11-02 00:48:36 +0000 |
| commit | 72da22e9cc380ecda175983d2a17b4494a4b9d15 (patch) | |
| tree | 395d680c600043285156bc08e762895e4ed36c7f /include/linux/debugobjects.h | |
| parent | a34544701067e82f00ac643cbf584c6daece1e8a (diff) | |
ASoC: tas2770: Configure transmit clock edge when setting DAI format
On reset, TAS2770 is configured to transmit on the falling edge
of the I2S clock. If BCLK is inverted, we are also receiving on the
falling edge. This can cause data leaving the codec to be corrupted.
Transmit should happen on the rising edge of the clock when receiving
on the falling edge, and vice versa.
Fix up tas2770_set_fmt to take into account the BLCK polarity and
always transmit on the correct edge of the clock. This fixes
corrupted VISENSE data on Apple Silicon platforms at sample rates
above 48 kHz.
Fixes: 1a476abc723e ("tas2770: add tas2770 smart PA kernel driver")
Signed-off-by: James Calligeros <jcalligeros99@gmail.com>
Link: https://patch.msgid.link/20261031-tas2770-sdout-clkedge-v2-1-afeeba781cbb@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
