init.qcom.rc: Add support for setting ssr configurations
We can now enable/disable SSR on a single or a group of peripherals by setting the persist.sys.ssr.restart_level property to the list of peripherals which we want SSR to be enabled for. Change-Id: I0b0d54985a863e92343f0a08865cb30f0f433853
This commit is contained in:
parent
0b9174498e
commit
1695a8d3de
2
base.mk
2
base.mk
|
@ -221,7 +221,7 @@ INIT += ueventd.qcom.rc
|
|||
INIT += init.ath3k.bt.sh
|
||||
INIT += qca6234-service.sh
|
||||
INIT += init.qcom.audio.sh
|
||||
INIT += init.qcom.ssr.sh
|
||||
INIT += ssr_setup
|
||||
INIT += enable_swap.sh
|
||||
INIT += init.mdm.sh
|
||||
INIT += fstab.qcom
|
||||
|
|
|
@ -271,6 +271,13 @@ service usbhub_init /system/bin/usbhub_init
|
|||
service qcomsysd /system/bin/qcom-system-daemon
|
||||
class main
|
||||
|
||||
service ssr_setup /system/bin/ssr_setup
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
on property:persist.sys.ssr.restart_level=*
|
||||
start ssr_setup
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
write /dev/kmsg "Boot completed "
|
||||
|
||||
|
|
Loading…
Reference in New Issue