]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: fsl_micfil: drop fsl_micfil_set_mclk_rate()
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 14 Apr 2022 16:22:31 +0000 (18:22 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 19 Apr 2022 11:06:11 +0000 (12:06 +0100)
commit3ff84e3dd180c368981b2d58ed50f17a47471828
tree23f2ad1c7555899a42a234e1799466400f3f4922
parent384672e3b7af65aaebb794a6d1a77bb975a10678
ASoC: fsl_micfil: drop fsl_micfil_set_mclk_rate()

All that the .set_sysclk hook in the micfil driver does is to pass
the sysclk frequency to fsl_micfil_set_mclk_rate(). This function
expects the sample rate as argument though, not any kind of sysclk
frequency. The resulting rate setting of the clock is overwritten
in hw_params anyway, so drop this altogether.

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-4-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c