]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: imx-card: Set mclk for codec
authorChancel Liu <chancel.liu@nxp.com>
Wed, 9 Oct 2024 07:46:43 +0000 (15:46 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 10 Oct 2024 14:20:35 +0000 (15:20 +0100)
commit892373e4de626c61e91816e3d3970d82beb50c4b
tree367c41a0741b0fc4cba5235b2b0fbbb858050979
parent7d04763cae9947464e30886a6c42e22ffed5caf8
ASoC: imx-card: Set mclk for codec

In some cases, ASoC machine driver may modify the mclk frequency
according to sample rate but the value in codec is still initial
frequency which should be replaced. For example, we should update
mclk before setup for cs42xx8 mclk relating registers.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Link: https://patch.msgid.link/1728460004-364-2-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-card.c