Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d65a666 authored by Guodong Hu's avatar Guodong Hu Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarGuodong Hu <guodhu@codeaurora.org>
parent b3875954
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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.