From a9cc222504cc479cb510b93c89115aaa77fc91c2 Mon Sep 17 00:00:00 2001 From: Kamal Wadhwa Date: Mon, 28 Mar 2022 21:52:49 +0530 Subject: [PATCH] Remove charger service restart and modem partition mount calls for HOLI Holi supports linux based charging and not via ADSP, hence remove the modem partition mount logic. This improves the entry time into power-off charging mode. Change-Id: I69337e773f6078bc0847b7db199fc21e8c975a8a --- init/init.target.rc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/init/init.target.rc b/init/init.target.rc index 0dd75bd..2263cfd 100644 --- a/init/init.target.rc +++ b/init/init.target.rc @@ -1,5 +1,6 @@ # Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. +# Copyright (c) 2022, Qualcomm Innovation Center, Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are @@ -125,10 +126,6 @@ on boot && property:persist.vendor.usb.controller.default=* setprop vendor.usb.controller ${persist.vendor.usb.controller.default} on charger - mount_all /vendor/etc/charger_fstab.qti --early - write /sys/kernel/boot_adsp/boot 1 - #restart charger after ADSP is out of reset - restart charger start vendor.power_off_alarm setprop sys.usb.controller 4e00000.dwc3 setprop sys.usb.configfs 1