diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-09-24 10:37:11 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-09-26 08:24:05 +0100 |
commit | 71d134b9fa3b435649aca893f79811afc7e4f1f1 (patch) | |
tree | a852a79dc5a2aae64be183f6654270546910a46d /drivers/mfd/arizona-core.c | |
parent | 6ab3430129e258ea31dd214adf1c760dfafde67a (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/arizona-core.c')
-rw-r--r-- | drivers/mfd/arizona-core.c | 1 |
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); |