linux/sound/soc/sunxi
Vasily Khoruzhick 13c3bf174b
ASoC: sun8i-codec: Don't hardcode BCLK / LRCK ratio
BCLK / LRCK ratio should be sample size * channels, but it was
hardcoded to 32 (0x1 is 32 as per A33 and A64 datasheets).

Calculate it basing on sample size and number of channels.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-10-17 11:10:58 +01:00
..
Kconfig ASoC: sunxi: allow the analog codec driver to be built on ARM64 2017-02-08 18:29:37 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sun4i-codec.c ASoC: sun4i: replace codec to component 2018-02-12 09:56:04 +00:00
sun4i-i2s.c ASoC: sun4i-i2s: Add compatibility with A64 codec I2S 2018-10-17 11:10:57 +01:00
sun4i-spdif.c ASoC: sun4i-spdif: Handle return value of clk_prepare_enable. 2017-07-26 13:01:33 +01:00
sun8i-codec-analog.c ASoC: sun8i-codec-analog: add support for V3s SoC 2017-06-06 19:29:54 +01:00
sun8i-codec.c ASoC: sun8i-codec: Don't hardcode BCLK / LRCK ratio 2018-10-17 11:10:58 +01:00