summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/arizona-core.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2014-09-24 11:37:11 +0200
committerLee Jones <lee.jones@linaro.org>2014-09-26 09:24:05 +0200
commit71d134b9fa3b435649aca893f79811afc7e4f1f1 (patch)
treea852a79dc5a2aae64be183f6654270546910a46d /drivers/mfd/arizona-core.c
parentmfd: Add ACPI support (diff)
downloadlinux-71d134b9fa3b435649aca893f79811afc7e4f1f1.tar.xz
linux-71d134b9fa3b435649aca893f79811afc7e4f1f1.zip
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/arizona-core.c')
-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)
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);