projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ab3430
)
mfd: arizona: Correct mask to allow setting micbias external cap
author
Charles Keepax
<ckeepax@opensource.wolfsonmicro.com>
Wed, 24 Sep 2014 09:37:11 +0000
(10:37 +0100)
committer
Lee 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
patch
|
blob
|
history
diff --git
a/drivers/mfd/arizona-core.c
b/drivers/mfd/arizona-core.c
index 72b3202c66745f230f45c14f1c5f4ba8ec08f7de..bce7c0784b6bcadf248a448f9dfec9f82faae7ba 100644
(file)
--- 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);