diff options
author | Guodong Hu <guodhu@codeaurora.org> | 2020-08-13 17:59:17 +0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2020-09-01 00:48:19 -0700 |
commit | 0d65a666bc2a4552a6244c87099d776b24794b88 (patch) | |
tree | e94f2d8786b3ca32251d11a0cfaf6f6659999cbf /ipc | |
parent | b387595408d636e7472d5cfe41c9cb678f8a54b3 (diff) | |
download | msm-extra-0d65a666bc2a4552a6244c87099d776b24794b88.tar.gz |
ipc: apr_vm: add symbol apr_register_adsp_state_cb
apr_register_adsp_state_cb is declared in apr.h.
Change-Id: Ifd5b9c53af62868076db066f12615af22f54f5be
Signed-off-by: Guodong Hu <guodhu@codeaurora.org>
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/apr_vm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ipc/apr_vm.c b/ipc/apr_vm.c index f8e2b588..1731462b 100644 --- a/ipc/apr_vm.c +++ b/ipc/apr_vm.c @@ -1075,6 +1075,13 @@ static void apr_reset_deregister(struct work_struct *work) kfree(apr_reset); } +void apr_register_adsp_state_cb(void *adsp_cb, void *client_handle) +{ + q6.state_notify_cb = adsp_cb; + q6.client_handle = client_handle; +} +EXPORT_SYMBOL(apr_register_adsp_state_cb); + /** * apr_start_rx_rt - Clients call to vote for thread * priority upgrade whenever needed. |