From 4e355a444bff8e4fd2815fa2472ea675c1bb1845 Mon Sep 17 00:00:00 2001 From: Banajit Goswami Date: Mon, 22 Aug 2016 22:01:27 -0700 Subject: [PATCH] land: init.qcom.rc: Update ownership for WDSP sysfs node Sound trigger HAL needs to write to the WDSP sysfs node to load WDSP image. Update ownership from root to media:audio for this node. Change-Id: Iefe889ffd21bba154875f71cf55f4a571d88f9fb --- rootdir/init.qcom.rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 4024c33..570547f 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -457,7 +457,8 @@ on property:persist.sys.ssr.enable_ramdumps=0 on property:sys.boot_completed=1 write /dev/kmsg "Boot completed " - + #WDSP FW boot sysfs node used by STHAL + chown media audio /sys/kernel/wdsp0/boot # CPE fw_name used by sound trigger HAL chown media audio /sys/kernel/wcd_cpe0/fw_name