avicii: init: Enable fastchg_fw_update on boot

* `fastchg_fw_update` seems to be needed to initialize VOOC / Warp
   charging.

Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
This commit is contained in:
SagarMakhar
2022-08-09 20:04:07 +05:30
committed by Sandeep-FED
parent caa95249cc
commit b961e7faa4

View File

@@ -77,6 +77,10 @@ on init
chown root system /sys/fs/cgroup/memory/bg/tasks
write /sys/kernel/icnss/wpss_boot 1
chmod 0660 /sys/fs/cgroup/memory/bg/tasks
on fs
# Charger
write /proc/fastchg_fw_update 1
on post-fs
chmod 0755 /sys/kernel/debug/tracing