From 43d4e6ad30f9d14de3099a1aa8a2bb131bea3b10 Mon Sep 17 00:00:00 2001 From: Vikram Panduranga Date: Wed, 22 Feb 2017 11:40:53 -0800 Subject: drivers: soc: apr: add wake_up for a waitqueue APR client waits in a waitqueue for glink to queue intents. On receiving notification about availability of intent, wake_up should be called on the waitqueue to wake up any waiting APR client. CRs-Fixed: 1096481 Change-Id: I5a2b902fa831709092be1a9a3073b8d784adba81 Signed-off-by: Vikram Panduranga --- drivers/soc/qcom/qdsp6v2/apr_tal_glink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/qdsp6v2/apr_tal_glink.c b/drivers/soc/qcom/qdsp6v2/apr_tal_glink.c index 19974b61ec1c..d11ffdde23be 100644 --- a/drivers/soc/qcom/qdsp6v2/apr_tal_glink.c +++ b/drivers/soc/qcom/qdsp6v2/apr_tal_glink.c @@ -218,6 +218,7 @@ static void apr_tal_notify_remote_rx_intent(void *handle, const void *priv, */ pr_debug("%s: remote queued an intent\n", __func__); apr_ch->if_remote_intent_ready = true; + wake_up(&apr_ch->wait); } void apr_tal_notify_state(void *handle, const void *priv, unsigned event) -- cgit v1.2.3