Browse Source

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>
Mark Brown 12 years ago
parent
commit
9fc50a2ead
1 changed files with 2 additions and 1 deletions
  1. 2 1
      drivers/regulator/arizona-micsupp.c

+ 2 - 1
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,
 	},