Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: arizona: Correct mask to allow setting micbias external cap

Currently the mask for the external capacitor bit is missing when
writing the MICBIAS config meaning it will never be set this patch fixes
this.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Charles Keepax and committed by
Lee Jones
71d134b9 6ab34301

+1
+1
drivers/mfd/arizona-core.c
··· 947 947 regmap_update_bits(arizona->regmap, 948 948 ARIZONA_MIC_BIAS_CTRL_1 + i, 949 949 ARIZONA_MICB1_LVL_MASK | 950 + ARIZONA_MICB1_EXT_CAP | 950 951 ARIZONA_MICB1_DISCH | 951 952 ARIZONA_MICB1_BYPASS | 952 953 ARIZONA_MICB1_RATE, val);