ASoC: mediatek: mt8192: fix register configuration for tdm
authorHsin-Te Yuan <yuanhsinte@chromium.org>
Thu, 9 May 2024 07:31:29 +0000 (07:31 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 9 May 2024 15:43:54 +0000 (17:43 +0200)
commita85ed162f0efcfdd664954414a05d1d560cc95dc
treecb12bc8080b4a2ed8f08904050790323f6566428
parent6490bec6d5bf1001032c5efea94bdf5b5104bce9
ASoC: mediatek: mt8192: fix register configuration for tdm

For DSP_A, data is a BCK cycle behind LRCK trigger edge. For DSP_B, this
delay doesn't exist. Fix the delay configuration to match the standard.

Fixes: 52fcd65414abfc ("ASoC: mediatek: mt8192: support tdm in platform driver")
Signed-off-by: Hsin-Te Yuan <yuanhsinte@chromium.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20240509-8192-tdm-v1-1-530b54645763@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8192/mt8192-dai-tdm.c