linux/sound/soc/sunxi
Samuel Holland 15b4591234
ASoC: sun8i-codec: Constrain to compatible sample rates
While another stream is active, only allow userspace to use sample rates
that are compatible with the current SYSCLK frequency. This ensures the
actual sample rate will always match what is given in hw_params.

Acked-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Link: https://lore.kernel.org/r/20201014061941.4306-12-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-10-26 14:57:00 +00:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile ASoC: sunxi: Add new driver for Allwinner A64 codec's analog path controls 2018-10-17 11:11:01 +01:00
sun4i-codec.c ASoC: various vendors: delete repeated words in comments 2020-08-18 14:52:32 +01:00
sun4i-i2s.c ASoC: sunxi: sun4i-i2s: add missing clock and format arguments in kernel-doc 2020-07-10 15:13:46 +01:00
sun4i-spdif.c ASoC: sunxi: use asoc_substream_to_rtd() 2020-07-23 19:07:23 +01:00
sun8i-adda-pr-regmap.c ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-adda-pr-regmap.h ASoC: sun8i-codec-analog: split regmap code into separate driver 2018-10-17 11:10:59 +01:00
sun8i-codec-analog.c ASoC: sun8i-codec-analog: use devm_platform_ioremap_resource() to simplify code 2019-07-31 12:09:02 +01:00
sun8i-codec.c ASoC: sun8i-codec: Constrain to compatible sample rates 2020-10-26 14:57:00 +00:00
sun50i-codec-analog.c ASoC: sun50i-codec-analog: Enable DAPM for earpiece switch 2020-08-17 16:19:17 +01:00