]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
regulator: arizona-micsupp: Enable bypass in default constraints
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 10 Jan 2013 19:31:47 +0000 (19:31 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 13 Jan 2013 12:31:02 +0000 (21:31 +0900)
This will be used as part of low power accessory detect.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/arizona-micsupp.c

index d96cee48f5939ebd32465eb2f2ff9091e4b89037..e87536bf0bed038f09af9bc251c85d0b00fb6c97 100644 (file)
@@ -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,
        },