commit | c6cc25fda58da8685ecef3f179adc7b99c8253b2 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Feb 19 11:51:22 2013 +0100 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Mon Apr 08 16:48:06 2013 +0200 |
tree | 6b6493d91317116023a889aba164caed00c6f2c2 | |
parent | 7aa3d7c8d5ca941e70183b8a7c980beff6edf534 [diff] |
mfd: adp5520: Restore mode bits on resume 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: stable@vger.kernel.org Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>