From 29774bbb63eb1a88af4c17855cd18482de8729b5 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Fri, 15 Oct 2021 18:48:13 +0200 Subject: [PATCH] sm6375-common: rootdir: Set vendor.post_boot.parsed=1 * Allows perf to work properly on boot to restore selected power profile This fixes log spam - QTI PowerHAL: Failed to acquire lock. Signed-off-by: Ahmad Rulim --- rootdir/etc/init.qcom.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 6e3b63c..a5c3453 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -491,6 +491,9 @@ on property:sys.boot_completed=1 write /sys/kernel/dload/dload_mode "both" write /sys/kernel/dload/emmc_dload 1 + # This initializes vendor.qti.hardware.perf service + setprop vendor.post_boot.parsed 1 + on property:persist.vendor.radio.atfwd.start=false stop vendor.atfwd