diff options
author | Samuel Holland <samuel@sholland.org> | 2020-10-14 09:19:36 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-10-26 17:57:01 +0300 |
commit | 3952ec2ac55a5afcda84270fa203f17a6309af6b (patch) | |
tree | 286e5b3601d1d3fc47b44f2af6eec38b1eafd322 /sound/soc/sunxi/Kconfig | |
parent | 15b45912341e884a16322792525db7a2b2b9a1f9 (diff) | |
download | linux-3952ec2ac55a5afcda84270fa203f17a6309af6b.tar.xz |
ASoC: sun8i-codec: Protect the clock rate while streams are open
The codec's clock input is shared among all AIFs, and shared with other
audio-related hardware in the SoC, including I2S and SPDIF controllers.
To ensure sample rates selected by userspace or by codec2codec DAI links
are maintained, the clock rate must be protected while it is in use.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://lore.kernel.org/r/20201014061941.4306-13-samuel@sholland.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sunxi/Kconfig')
-rw-r--r-- | sound/soc/sunxi/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig index 9cd7009cb570..69b9d8515335 100644 --- a/sound/soc/sunxi/Kconfig +++ b/sound/soc/sunxi/Kconfig @@ -14,6 +14,7 @@ config SND_SUN8I_CODEC tristate "Allwinner SUN8I audio codec" depends on OF depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST + select COMMON_CLK select REGMAP_MMIO help This option enables the digital part of the internal audio codec for |