soc: qcom: signal buffer response after glink_rx_done()
Currently glink rx buffer response signal is updated before calling glink_rx_done(). Since response sent for the command, there is a chance that next command will be sent before glink_rx_done() API called which is not expected from wdsp. Avoid this scenario by calling glink_rx_done() before signaling buffer response. Change-Id: Ifdd0089a6a970792ebd84665178bd4de86eae2fb Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>
This commit is contained in:
parent
ce610f2fc9
commit
8a51f10a4e
1 changed files with 1 additions and 1 deletions
|
@ -161,8 +161,8 @@ static void wdsp_glink_notify_rx(void *handle, const void *priv,
|
|||
wpriv->rsp_cnt = ++rsp_cnt;
|
||||
mutex_unlock(&wpriv->rsp_mutex);
|
||||
|
||||
complete(&wpriv->rsp_complete);
|
||||
glink_rx_done(handle, ptr, true);
|
||||
complete(&wpriv->rsp_complete);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue