]> www.infradead.org Git - users/hch/misc.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)
committerMark Brown <broonie@kernel.org>
Thu, 13 Feb 2025 11:34:32 +0000 (11:34 +0000)
commit571b69f2f9b1ec7cf7d0e9b79e52115a87a869c4
tree61ebeabe86c637ba37d932824e03d97fe30f6166
parentf6841309b6de97c21a3ce25d1d9d945ad4f7ee2c
ASoC: imx-audmix: remove cpu_mclk which is from cpu dai device

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>
sound/soc/fsl/imx-audmix.c