]> www.infradead.org Git - users/hch/dma-mapping.git/commit
ASoC: fsl_micfil: Add sample rate constraint
authorShengjiu Wang <shengjiu.wang@nxp.com>
Mon, 14 Oct 2024 05:38:33 +0000 (13:38 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 22 Oct 2024 16:36:30 +0000 (17:36 +0100)
commitb9a8ecf81066e01e8a3de35517481bc5aa0439e5
treeb69c31fcae682ef15e4559df2eb847df412e8e6e
parent038fa6ddf5d22694f61ff7a7a53c8887c6b08c45
ASoC: fsl_micfil: Add sample rate constraint

On some platforms, for example i.MX93, there is only one
audio PLL source, so some sample rate can't be supported.
If the PLL source is used for 8kHz series rates, then 11kHz
series rates can't be supported.

So add constraints according to the frequency of available
clock sources, then alsa-lib will help to convert the
unsupported rate for the driver.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/1728884313-6778-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c