]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: fsl_sai: Fix no frame sync clock issue on i.MX8MP
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 20 Nov 2023 10:05:35 +0000 (18:05 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Nov 2023 13:13:31 +0000 (13:13 +0000)
commit14e8442e0789598514f3c9de014950de9feda7a4
treeebde19a7fd7fcaf8f6496eca45dca1805ab70db3
parent3bdaf698a7973156209c00d33b548882784aefe8
ASoC: fsl_sai: Fix no frame sync clock issue on i.MX8MP

On i.MX8MP, when the TERE and FSD_MSTR enabled before configuring
the word width, there will be no frame sync clock issue, because
old word width impact the generation of frame sync.

TERE enabled earlier only for i.MX8MP case for the hardware limitation,
So need to disable FSD_MSTR before configuring word width, then enable
FSD_MSTR bit for this specific case.

Fixes: 3e4a82612998 ("ASoC: fsl_sai: MCLK bind with TX/RX enable bit")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1700474735-3863-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c