summaryrefslogtreecommitdiffstats
path: root/sound/soc/sunxi/sun8i-adda-pr-regmap.c
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2018-10-17 00:38:06 -0700
committerMark Brown <broonie@kernel.org>2018-10-17 11:10:58 +0100
commit13c3bf174becfb8b55adcfeb6f01724dc99347f0 (patch)
treea0704b996781648f0c2ed9ff4cd1f5caf5f0b728 /sound/soc/sunxi/sun8i-adda-pr-regmap.c
parent66ecce3325383c8304063e7d5a30f4374ef5a33e (diff)
downloadlinux-stable-13c3bf174becfb8b55adcfeb6f01724dc99347f0.tar.gz
linux-stable-13c3bf174becfb8b55adcfeb6f01724dc99347f0.tar.bz2
linux-stable-13c3bf174becfb8b55adcfeb6f01724dc99347f0.zip
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>
Diffstat (limited to 'sound/soc/sunxi/sun8i-adda-pr-regmap.c')
0 files changed, 0 insertions, 0 deletions