提交 71d134b9 编写于 作者: C Charles Keepax 提交者: Lee Jones

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: NCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: NLee Jones <lee.jones@linaro.org>
上级 6ab34301
...@@ -947,6 +947,7 @@ int arizona_dev_init(struct arizona *arizona) ...@@ -947,6 +947,7 @@ int arizona_dev_init(struct arizona *arizona)
regmap_update_bits(arizona->regmap, regmap_update_bits(arizona->regmap,
ARIZONA_MIC_BIAS_CTRL_1 + i, ARIZONA_MIC_BIAS_CTRL_1 + i,
ARIZONA_MICB1_LVL_MASK | ARIZONA_MICB1_LVL_MASK |
ARIZONA_MICB1_EXT_CAP |
ARIZONA_MICB1_DISCH | ARIZONA_MICB1_DISCH |
ARIZONA_MICB1_BYPASS | ARIZONA_MICB1_BYPASS |
ARIZONA_MICB1_RATE, val); ARIZONA_MICB1_RATE, val);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册