diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-30 12:58:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-30 12:58:40 +0200 |
commit | dcbd8eec68500beed75cf41630b89da6c85ad1e4 (patch) | |
tree | 508bbb141ce7151c1c65c3d2198603214fbb3090 /drivers/regulator | |
parent | Merge remote-tracking branch 'regulator/fix/doc' into regulator-linus (diff) | |
parent | regulator: palmas: Fix "enable_reg" to point to the correct reg for SMPS10 (diff) | |
download | linux-dcbd8eec68500beed75cf41630b89da6c85ad1e4.tar.xz linux-dcbd8eec68500beed75cf41630b89da6c85ad1e4.zip |
Merge remote-tracking branch 'regulator/fix/palmas' into regulator-linus
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/palmas-regulator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 92ceed0fc65e..3ae44ac12a94 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c @@ -840,7 +840,7 @@ static int palmas_regulators_probe(struct platform_device *pdev) break; } - if ((id == PALMAS_REG_SMPS6) && (id == PALMAS_REG_SMPS8)) + if ((id == PALMAS_REG_SMPS6) || (id == PALMAS_REG_SMPS8)) ramp_delay_support = true; if (ramp_delay_support) { @@ -878,7 +878,7 @@ static int palmas_regulators_probe(struct platform_device *pdev) pmic->desc[id].vsel_mask = SMPS10_VSEL; pmic->desc[id].enable_reg = PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, - PALMAS_SMPS10_STATUS); + PALMAS_SMPS10_CTRL); pmic->desc[id].enable_mask = SMPS10_BOOST_EN; pmic->desc[id].min_uV = 3750000; pmic->desc[id].uV_step = 1250000; |