sm8250-common: init: Move VOOC-related writes back to init
This allows these same writes to happen in both Android and offline charging mode, thus enabling VOOC during offline charging. Change-Id: Iacf85966b5fa37eedb42887d666369fb63e13c33
This commit is contained in:
committed by
Michael Bestas
parent
d62a96ef8d
commit
852815b998
@@ -4,11 +4,12 @@
|
|||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
|
||||||
on fs
|
on init
|
||||||
# Charger
|
# Charger
|
||||||
write /proc/fastchg_fw_update 1
|
write /proc/fastchg_fw_update 1
|
||||||
write /proc/ui_soc_decimal 1
|
write /proc/ui_soc_decimal 1
|
||||||
|
|
||||||
|
on fs
|
||||||
# Update touchpanel firmware in case we ship newer firmware in /odm
|
# Update touchpanel firmware in case we ship newer firmware in /odm
|
||||||
write /proc/touchpanel/tp_fw_update 0
|
write /proc/touchpanel/tp_fw_update 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user