aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2014-09-24 05:37:11 -0400
committerLee Jones <lee.jones@linaro.org>2014-09-26 03:24:05 -0400
commit71d134b9fa3b435649aca893f79811afc7e4f1f1 (patch)
treea852a79dc5a2aae64be183f6654270546910a46d /drivers/mfd
parent6ab3430129e258ea31dd214adf1c760dfafde67a (diff)
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>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/arizona-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c
index 72b3202c6674..bce7c0784b6b 100644
--- a/drivers/mfd/arizona-core.c
+++ b/drivers/mfd/arizona-core.c
@@ -947,6 +947,7 @@ int arizona_dev_init(struct arizona *arizona)
947 regmap_update_bits(arizona->regmap, 947 regmap_update_bits(arizona->regmap,
948 ARIZONA_MIC_BIAS_CTRL_1 + i, 948 ARIZONA_MIC_BIAS_CTRL_1 + i,
949 ARIZONA_MICB1_LVL_MASK | 949 ARIZONA_MICB1_LVL_MASK |
950 ARIZONA_MICB1_EXT_CAP |
950 ARIZONA_MICB1_DISCH | 951 ARIZONA_MICB1_DISCH |
951 ARIZONA_MICB1_BYPASS | 952 ARIZONA_MICB1_BYPASS |
952 ARIZONA_MICB1_RATE, val); 953 ARIZONA_MICB1_RATE, val);