From cab75e2db613db0ea11d3fa05bee66facc72b364 Mon Sep 17 00:00:00 2001 From: Sandeep Neerudu Date: Mon, 30 Sep 2019 12:23:34 +0530 Subject: [PATCH] davinci: rootdir: sensors : remove sensors specific boot up commands from init.qcom.rc move sensors specific boot up commands from global init.qcom.rc to component specific rc files , which are part of individual component projects. Change-Id: Ib0410cd0af8d77573bd320063982b504b1b1d1d5 --- rootdir/etc/init.qcom.rc | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 792b845..3091538 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -55,7 +55,6 @@ on early-boot write /sys/kernel/boot_adsp/boot 1 write /sys/kernel/boot_cdsp/boot 1 write /sys/devices/virtual/npu/msm_npu/boot 1 - write /sys/kernel/boot_slpi/boot 1 write /sys/devices/virtual/cvp/cvp/boot 1 write /sys/class/drm/card0-DSI-1/status "detect" @@ -64,18 +63,6 @@ on early-boot chown system graphics /sys/devices/virtual/hdcp/msm_hdcp/min_level_change chmod 0660 /sys/devices/virtual/hdcp/msm_hdcp/min_level_change - chown system system /mnt/vendor/persist/sensors - chown system system /mnt/vendor/persist/sensors/sns.reg - chown system system /mnt/vendor/persist/sensors/sensors_list.txt - chown system system /mnt/vendor/persist/sensors/registry - chown system system /mnt/vendor/persist/sensors/registry/registry - chown system system /mnt/vendor/persist/sensors/registry/registry/sensors_registry - chown system system /mnt/vendor/persist/sensors/sensors_settings - chown system system /mnt/vendor/persist/sensors/registry/sns_reg_config - chown system system /mnt/vendor/persist/sensors/registry/sns_reg_version - chown system system /mnt/vendor/persist/sensors/registry/config - chmod 0664 /mnt/vendor/persist/sensors/sensors_settings - # SSR setup write /sys/bus/msm_subsys/devices/subsys0/restart_level "related" write /sys/bus/msm_subsys/devices/subsys1/restart_level "related" @@ -130,9 +117,6 @@ on boot # Create hvdcp_opti directory mkdir /mnt/vendor/persist/hvdcp_opti 0770 root system - # Sensors log dir - mkdir /data/vendor/sensors 0770 system system - # Enable qcrild and data services enable vendor.qcrild enable vendor.qcrild2 @@ -258,19 +242,6 @@ service vendor.tftp_server /vendor/bin/tftp_server user root writepid /dev/cpuset/system-background/tasks -service vendor.sensors /vendor/bin/sscrpcd sensorspd - class early_hal - user system - group system wakelock - capabilities BLOCK_SUSPEND - writepid /dev/cpuset/system-background/tasks - -service vendor.sensors.qti /vendor/bin/sensors.qti - class core - user system - group system - writepid /dev/cpuset/system-background/tasks - service vendor.cnss-daemon /vendor/bin/cnss-daemon -n -l class late_start user system