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
This commit is contained in:
Kamal Wadhwa 2022-03-28 21:52:49 +05:30 committed by Albert Tang
parent 1e0021ccc9
commit a9cc222504

View file

@ -1,5 +1,6 @@
# Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. # 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 # Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are # 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} setprop vendor.usb.controller ${persist.vendor.usb.controller.default}
on charger 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 start vendor.power_off_alarm
setprop sys.usb.controller 4e00000.dwc3 setprop sys.usb.controller 4e00000.dwc3
setprop sys.usb.configfs 1 setprop sys.usb.configfs 1