]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: imx-card: Fix DSD/PDM mclk frequency
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 6 Jul 2022 09:42:55 +0000 (17:42 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 6 Jul 2022 11:10:47 +0000 (12:10 +0100)
commit5193cc3533e04cf716868fe09ad3e6c352259c91
treeee855b41fc9706456d5137b801de0947490f8c76
parenta96de901dd72bbb289c635edacf8ba475d65ddb0
ASoC: imx-card: Fix DSD/PDM mclk frequency

The DSD/PDM rate not only DSD64/128/256/512, which are the
multiple rate of 44.1kHz,  but also support the multiple
rate of 8kHz, so can't force all mclk frequency to be
22579200Hz, need to assign the frequency according to
rate.

Fixes: 32569b1134f1 ("ASoC: imx-card: Add imx-card machine driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1657100575-8261-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-card.c