diff options
author | Tony Lindgren <tony@atomide.com> | 2014-11-02 19:07:56 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-11-10 16:22:04 +0100 |
commit | 481c7f868c6d855f31a29c69b445ac4aee9625a6 (patch) | |
tree | fec379479db753f58dacf53a59f29ec355e8a292 /include | |
parent | mfd: max77693: Fix always masked MUIC interrupts (diff) | |
download | linux-481c7f868c6d855f31a29c69b445ac4aee9625a6.tar.xz linux-481c7f868c6d855f31a29c69b445ac4aee9625a6.zip |
mfd: twl4030-power: Fix poweroff with PM configuration enabled
Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset
configuration") enabled configuring the PM features for twl4030.
This caused poweroff command to fail on devices that have the
BCI charger on twl4030 wired, or have power wired for VBUS.
Instead of powering off, the device reboots. This is because
voltage is detected on charger or VBUS with the default bits
enabled for the power transition registers.
To fix the issue, let's just clear VBUS and CHG bits as we want
poweroff command to keep the system powered off.
Fixes: e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset configuration")
Cc: stable@vger.kernel.org # v3.16+
Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions