Re: [PATCH] mfd:adp5520: Restore mode bits on resume

2013-04-08 Thread Samuel Ortiz
Hi Michael, Lars, On Tue, Feb 19, 2013 at 02:10:04PM +0100, Michael Hennerich wrote: > On 02/19/2013 11:51 AM, Lars-Peter Clausen wrote: > >The adp5520 unfortunately also clears the BL_EN bit when the nSTNDBY bit is > >cleared. So we need to make sure to restore it during resume if it was set >

Re: [PATCH] mfd:adp5520: Restore mode bits on resume

2013-04-08 Thread Samuel Ortiz
Hi Michael, Lars, On Tue, Feb 19, 2013 at 02:10:04PM +0100, Michael Hennerich wrote: On 02/19/2013 11:51 AM, Lars-Peter Clausen wrote: The adp5520 unfortunately also clears the BL_EN bit when the nSTNDBY bit is cleared. So we need to make sure to restore it during resume if it was set before

Re: [PATCH] mfd:adp5520: Restore mode bits on resume

2013-02-19 Thread Michael Hennerich
On 02/19/2013 11:51 AM, Lars-Peter Clausen wrote: The adp5520 unfortunately also clears the BL_EN bit when the nSTNDBY bit is cleared. So we need to make sure to restore it during resume if it was set before suspend. Cc: sta...@vger.kernel.org Signed-off-by: Lars-Peter Clausen Acked-by:

[PATCH] mfd:adp5520: Restore mode bits on resume

2013-02-19 Thread Lars-Peter Clausen
The adp5520 unfortunately also clears the BL_EN bit when the nSTNDBY bit is cleared. So we need to make sure to restore it during resume if it was set before suspend. Cc: sta...@vger.kernel.org Signed-off-by: Lars-Peter Clausen --- drivers/mfd/adp5520.c | 8 ++-- 1 file changed, 6

[PATCH] mfd:adp5520: Restore mode bits on resume

2013-02-19 Thread Lars-Peter Clausen
The adp5520 unfortunately also clears the BL_EN bit when the nSTNDBY bit is cleared. So we need to make sure to restore it during resume if it was set before suspend. Cc: sta...@vger.kernel.org Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/mfd/adp5520.c | 8 ++-- 1 file

Re: [PATCH] mfd:adp5520: Restore mode bits on resume

2013-02-19 Thread Michael Hennerich
On 02/19/2013 11:51 AM, Lars-Peter Clausen wrote: The adp5520 unfortunately also clears the BL_EN bit when the nSTNDBY bit is cleared. So we need to make sure to restore it during resume if it was set before suspend. Cc: sta...@vger.kernel.org Signed-off-by: Lars-Peter Clausen l...@metafoo.de