]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jun 2024 11:39:45 +0000 (13:39 +0200)
commitfde10aab82647d392b7a746cc6df8dcc41cf0a26
tree187d86ca7452ba79c482ed4f08d0b0ea3d11e018
parent4bb60a0ecee3b545033f950ff1850a4c725b39c4
ASoC: mediatek: mt8192: fix register configuration for tdm

[ Upstream commit a85ed162f0efcfdd664954414a05d1d560cc95dc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/mediatek/mt8192/mt8192-dai-tdm.c