]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: fsl_micfil: Drop get_pdm_clk()
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 14 Apr 2022 16:22:42 +0000 (18:22 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 19 Apr 2022 11:06:23 +0000 (12:06 +0100)
commitbe6aeee2eb82e5ae57f8cc613c0b6cc3e8d33664
treed210c649643120fa7f71573fbc85c77b9c9156f4
parentfb855b8d46a17c9bb5562e315158de52b18b7e62
ASoC: fsl_micfil: Drop get_pdm_clk()

get_pdm_clk() calculates the PDM clock based on the quality setting,
but really the PDM clock is independent of the quality, it's always
rate * 4 * micfil->osr. Just drop the function and do the calculation
in the caller.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20220414162249.3934543-15-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c