diff options
author | Tom Rini <trini@konsulko.com> | 2018-12-27 07:50:24 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-12-27 07:50:24 -0500 |
commit | b47b3810379aaf6d336151acda66c2a29fc8b657 (patch) | |
tree | 15364a84e350a1a71ead52ead1b313a6dad2a3a5 /drivers/power | |
parent | 562a63e86bc7b308a328a7bbdf0db237855c39a8 (diff) | |
parent | e17e0ceb83538c015a50b965547f2f4d38f81c5d (diff) |
Merge branch '2018-12-26-master-imports'
- Misc TI platform fixes
- mt7629 fix for Linux compatible SMP support
- Other small regression fixes
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/regulator/regulator-uclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/regulator/regulator-uclass.c b/drivers/power/regulator/regulator-uclass.c index 4511625ff2..39e46279d5 100644 --- a/drivers/power/regulator/regulator-uclass.c +++ b/drivers/power/regulator/regulator-uclass.c @@ -113,7 +113,7 @@ int regulator_set_enable(struct udevice *dev, bool enable) uc_pdata = dev_get_uclass_platdata(dev); if (!enable && uc_pdata->always_on) - return -EACCES; + return 0; return ops->set_enable(dev, enable); } |