From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lee Jones Subject: Re: [PATCH] mfd: twl4030-power: Fix poweroff with PM configuration enabled Date: Mon, 3 Nov 2014 15:30:06 +0000 Message-ID: <20141103153006.GB10544@x1> References: <20141102180756.GH31454@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <20141102180756.GH31454@atomide.com> Sender: linux-kernel-owner@vger.kernel.org To: Tony Lindgren Cc: Samuel Ortiz , Russell King - ARM Linux , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org List-Id: linux-omap@vger.kernel.org On Sun, 02 Nov 2014, Tony Lindgren wrote: > Commit e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset > configuration") enabled configuring the PM features for twl4030. >=20 > 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. >=20 > To fix the issue, let's just clear VBUS and CHG bits as we want > poweroff command to keep the system powered off. >=20 > Fixes: e7cd1d1eb16f ("mfd: twl4030-power: Add generic reset configura= tion") > Cc: stable@vger.kernel.org # v3.16+ > Reported-by: Russell King It would be good to have Russell to review this to ensure he is happy with the implementation. > Signed-off-by: Tony Lindgren [...] --=20 Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org =E2=94=82 Open source software for ARM SoCs =46ollow Linaro: Facebook | Twitter | Blog