summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDerek Chen <chenche@codeaurora.org>2017-10-05 18:51:30 -0400
committerTimothy Sham <tsham@codeaurora.org>2018-05-14 17:28:59 -0400
commit125ff102eb89d6bc9301f842afa9a2201cd49040 (patch)
tree752b1951b3dc88a29b5385005c52841fe6c2cd37 /include
parentd5b2406b66b6358c5ba4dfd1a707ab338a112903 (diff)
ASoC: msm: qdsp6v2: return the proper LPASS status
Allow the LPASS status check API to return the proper status code. CRs-fixed: 2126725 Change-Id: I6c34036ec30c7d4ce8aaefb70d19b04b211f7355 Signed-off-by: Derek Chen <chenche@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/q6core.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sound/q6core.h b/include/sound/q6core.h
index e70e4ba9b968..148df25cbd51 100644
--- a/include/sound/q6core.h
+++ b/include/sound/q6core.h
@@ -19,8 +19,10 @@
#define AVCS_CMD_ADSP_EVENT_GET_STATE 0x0001290C
#define AVCS_CMDRSP_ADSP_EVENT_GET_STATE 0x0001290D
+#define AVCS_SERVICES_AND_STATIC_MODULES_READY 0x1
+#define AVCS_SERVICE_AND_ALL_MODULES_READY 0x5
-bool q6core_is_adsp_ready(void);
+int q6core_is_adsp_ready(void);
int q6core_add_remove_pool_pages(phys_addr_t buf_add, uint32_t bufsz,
uint32_t mempool_id, bool add_pages);