]> 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)
commit95c3c4178c711ce30890417bb91a6136a92f561a
treeee855b41fc9706456d5137b801de0947490f8c76
parentbe22ab3d122768543efec291aff325dc05914dbe
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: 53eb042a8665 ("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