-
由 Rajkumar Kasirajan 提交于
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: NRajkumar Kasirajan <rajkumar.kasirajan@stericsson.com> Signed-off-by: NPer Forlin <per.forlin@stericsson.com> Signed-off-by: NLee Jones <lee.jones@linaro.org> Reviewed-by: NRupesh KUMAR <rupesh.kumar@stericsson.com> Reviewed-by: NPhilippe LANGLAIS <philippe.langlais@stericsson.com> Tested-by: NRupesh KUMAR <rupesh.kumar@stericsson.com> Tested-by: NPhilippe LANGLAIS <philippe.langlais@stericsson.com> Acked-by: NSamuel Ortiz <sameo@linux.intel.com>
f04a9d8a