]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: imx-audmix: remove cpu_mclk which is from cpu dai device
authorShengjiu Wang <shengjiu.wang@nxp.com>
Thu, 13 Feb 2025 07:05:18 +0000 (15:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Feb 2025 12:30:16 +0000 (04:30 -0800)
commit72be19e184fc6a77c73eaa23ea009d2832f0ede7
tree384642fd8571982f38de60739dd6120329805763
parent8d06e9208184b2851fa79a3a39d6860320c8bdf8
ASoC: imx-audmix: remove cpu_mclk which is from cpu dai device

[ Upstream commit 571b69f2f9b1ec7cf7d0e9b79e52115a87a869c4 ]

When defer probe happens, there may be below error:

platform 59820000.sai: Resources present before probing

The cpu_mclk clock is from the cpu dai device, if it is not released,
then the cpu dai device probe will fail for the second time.

The cpu_mclk is used to get rate for rate constraint, rate constraint
may be specific for each platform, which is not necessary for machine
driver, so remove it.

Fixes: b86ef5367761 ("ASoC: fsl: Add Audio Mixer machine driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20250213070518.547375-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/imx-audmix.c