From c390eaa483fdef4469738b147918120cab820c14 Mon Sep 17 00:00:00 2001 From: Damir Didjusto Date: Tue, 10 Dec 2013 11:10:57 -0800 Subject: [PATCH] init.qcom.rc: Deferring ADSP load until debug flag setup - ADSP was getting loaded way too early. This blocked debugging processor - Moved ADSP loading command to the line after the command to setup debug flag - The debug flag couldn't be moved as its current place allows access to android persistent properties CRs-fixed: 581939 Change-Id: I11cb7907f6d006c08b7d4e4e22a8d8d2d4942991 --- rootdir/etc/init.qcom.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index d0c2b30d..a3bcdd90 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -57,6 +57,7 @@ on early-boot setrlimit 8 67108864 67108864 # Allow subsystem (modem etc) debugging write /sys/module/subsystem_restart/parameters/enable_debug ${persist.sys.ssr.enable_debug} + write /sys/kernel/boot_adsp/boot 1 on boot chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power