summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/arizona-micsupp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-10 19:31:47 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-13 21:31:02 +0900
commit9fc50a2ead28afea1da19c22b1054f7e23d6eb45 (patch)
treedcbff90fef7fee9e2030fe4a1e090ffe3e6e31a8 /drivers/regulator/arizona-micsupp.c
parente6ed90581bfab234ceeff797e1efbd31d0cec219 (diff)
downloadop-kernel-dev-9fc50a2ead28afea1da19c22b1054f7e23d6eb45.zip
op-kernel-dev-9fc50a2ead28afea1da19c22b1054f7e23d6eb45.tar.gz
regulator: arizona-micsupp: Enable bypass in default constraints
This will be used as part of low power accessory detect. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/arizona-micsupp.c')
-rw-r--r--drivers/regulator/arizona-micsupp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c
index d96cee4..e87536b 100644
--- a/drivers/regulator/arizona-micsupp.c
+++ b/drivers/regulator/arizona-micsupp.c
@@ -177,7 +177,8 @@ static const struct regulator_desc arizona_micsupp = {
static const struct regulator_init_data arizona_micsupp_default = {
.constraints = {
.valid_ops_mask = REGULATOR_CHANGE_STATUS |
- REGULATOR_CHANGE_VOLTAGE,
+ REGULATOR_CHANGE_VOLTAGE |
+ REGULATOR_CHANGE_BYPASS,
.min_uV = 1700000,
.max_uV = 3300000,
},
OpenPOWER on IntegriCloud