diff options
author | Robin Gong <yibin.gong@nxp.com> | 2018-05-17 23:25:13 +0800 |
---|---|---|
committer | Leonard Crestez <leonard.crestez@nxp.com> | 2018-08-24 12:41:33 +0300 |
commit | 88183de6264f4eae70dbd0ffe1851fdec0c8cced (patch) | |
tree | 1fe2bc413b64c1d46526780acbfd53cb7aafbb1c | |
parent | ca20cfabdd9d34a66ea5bd041c9e2041d6eb15ec (diff) |
MLK-18334: regulator: bd71837: fix reboot failure on i.mx845s evk
Fix reboot failure on i.mx845s evk board. For BD71837, BUCKx_SEL and
BUCKx_EN of all bucks can't be set to 1 as explicity enabled or disabled,
otherwise, it may mess up with the default state machine if pmic reset
triggered. Remove enable/disable interfaces in driver to avoid touch such
bits.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
-rw-r--r-- | drivers/regulator/bd71837-regulator.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/regulator/bd71837-regulator.c b/drivers/regulator/bd71837-regulator.c index 4b04fb1f221f..a4cd4205af01 100644 --- a/drivers/regulator/bd71837-regulator.c +++ b/drivers/regulator/bd71837-regulator.c @@ -101,8 +101,6 @@ static struct regulator_ops bd71837_fixed_regulator_ops = { }; static struct regulator_ops bd71837_buck_regulator_ops = { - .enable = regulator_enable_regmap, - .disable = regulator_disable_regmap, .is_enabled = regulator_is_enabled_regmap, .list_voltage = regulator_list_voltage_linear_range, .set_voltage_sel = regulator_set_voltage_sel_regmap, @@ -111,8 +109,6 @@ static struct regulator_ops bd71837_buck_regulator_ops = { }; static struct regulator_ops bd71837_buck1234_regulator_ops = { - .enable = regulator_enable_regmap, - .disable = regulator_disable_regmap, .is_enabled = regulator_is_enabled_regmap, .list_voltage = regulator_list_voltage_linear_range, .set_voltage_sel = regulator_set_voltage_sel_regmap, |