From: Rajkumar Kasirajan Date: Wed, 30 May 2012 11:02:37 +0000 (+0530) Subject: mfd: ab8500-sysctrl: Update correct turn on status X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~31^2~85^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f04a9d8adf766c480353c0f2427e641251c9b059;p=pandora-kernel.git mfd: ab8500-sysctrl: Update correct turn on status In L9540, turn_on_status register is not updated correctly if the device is rebooted with AC/USB charger connected. Due to this, the device boots android instead of entering into charge only mode. Read the AC/USB status register to detect the charger presence and update the turn on status manually. Signed-off-by: Rajkumar Kasirajan Signed-off-by: Per Forlin Signed-off-by: Lee Jones Reviewed-by: Rupesh KUMAR Reviewed-by: Philippe LANGLAIS Tested-by: Rupesh KUMAR Tested-by: Philippe LANGLAIS Acked-by: Samuel Ortiz --- Reading git-diff-tree failed