From 852815b998fc24c2d42bd07621b5a5caefb28c74 Mon Sep 17 00:00:00 2001 From: jabashque Date: Tue, 22 Nov 2022 10:34:09 +0000 Subject: [PATCH] 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 --- init/init.oplus.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init/init.oplus.rc b/init/init.oplus.rc index 1f7d007..d1d45ad 100644 --- a/init/init.oplus.rc +++ b/init/init.oplus.rc @@ -4,11 +4,12 @@ # SPDX-License-Identifier: Apache-2.0 # -on fs +on init # Charger write /proc/fastchg_fw_update 1 write /proc/ui_soc_decimal 1 +on fs # Update touchpanel firmware in case we ship newer firmware in /odm write /proc/touchpanel/tp_fw_update 0