audio: Set Analog and HDMI mixer controls
cherry-picked from upstream device/linaro/dragonboard project.
Set Analog and HDMI mixer controls for db845c
on boot completion using tinymix.
Put a 1 second sleep in-between pd-mapper and
tinymix to let sound/codecs initialized properly
before setting mixer controls. Also made sure
that audio out interface is ready before
audioserver service get started.
Change-Id: Ib321559815e5d22d224fc36a1fe6c21f52df3eec
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index d6ce47a..270e621 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -23,6 +23,8 @@
/data/vendor/readwrite(/.*)? u:object_r:tqftpserv_vendor_data_file:s0
/data/vendor/readonly(/.*)? u:object_r:tqftpserv_vendor_data_file:s0
+/system/bin/tinymix u:object_r:tinymix_exec:s0
+
/vendor/bin/hw/android\.hardware\.gatekeeper@1\.0-service\.software u:object_r:hal_gatekeeper_default_exec:s0
/vendor/bin/pd-mapper u:object_r:pd_mapper_exec:s0
/vendor/bin/rmtfs u:object_r:rmtfs_exec:s0