]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mfd: arizona: Correct mask to allow setting micbias external cap
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Wed, 24 Sep 2014 09:37:11 +0000 (10:37 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 26 Sep 2014 07:24:05 +0000 (08:24 +0100)
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>
drivers/mfd/arizona-core.c

index 72b3202c66745f230f45c14f1c5f4ba8ec08f7de..bce7c0784b6bcadf248a448f9dfec9f82faae7ba 100644 (file)
@@ -947,6 +947,7 @@ int arizona_dev_init(struct arizona *arizona)
                regmap_update_bits(arizona->regmap,
                                   ARIZONA_MIC_BIAS_CTRL_1 + i,
                                   ARIZONA_MICB1_LVL_MASK |
+                                  ARIZONA_MICB1_EXT_CAP |
                                   ARIZONA_MICB1_DISCH |
                                   ARIZONA_MICB1_BYPASS |
                                   ARIZONA_MICB1_RATE, val);