Browse Source

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 <[email protected]>
Guodong Hu 4 years ago
parent
commit
0d65a666bc
1 changed files with 7 additions and 0 deletions
  1. 7 0
      ipc/apr_vm.c

+ 7 - 0
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.