From: Mark Brown Date: Thu, 10 Jan 2013 19:31:47 +0000 (+0000) Subject: regulator: arizona-micsupp: Enable bypass in default constraints X-Git-Tag: v3.9-rc1~154^2~19^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9fc50a2ead28afea1da19c22b1054f7e23d6eb45;p=thirdparty%2Fkernel%2Flinux.git regulator: arizona-micsupp: Enable bypass in default constraints This will be used as part of low power accessory detect. Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c index d96cee48f5939..e87536bf0bed0 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, },