From: Lars-Peter Clausen Date: Tue, 19 Feb 2013 10:51:22 +0000 (+0100) Subject: mfd: adp5520: Restore mode bits on resume X-Git-Tag: v3.2.46~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df5ef181b7b1c6e14a53935b90e43a92df9abaf2;p=pandora-kernel.git mfd: adp5520: Restore mode bits on resume commit c6cc25fda58da8685ecef3f179adc7b99c8253b2 upstream. 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. Signed-off-by: Lars-Peter Clausen Acked-by: Michael Hennerich Signed-off-by: Samuel Ortiz Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed