drivers: soc: apr: remove GLINK_TX_REQ_INTENT flag in apr write
Glink will return failure if there are no intents available at the remote endpoint. Remove the GLINK_TX_REQ_INTENT flag so that glink returns EAGAIN error code so that apr_tal can retry. CRs-Fixed: 2002511 Signed-off-by: Surendar karka <sukark@codeaurora.org> Change-Id: I494bd26ed48ea2d80b1f76c8ee871ec76d428e4c
This commit is contained in:
parent
10a55a5874
commit
028dfd7730
1 changed files with 1 additions and 2 deletions
|
@ -98,8 +98,7 @@ static int __apr_tal_write(struct apr_svc_ch_dev *apr_ch, void *data,
|
|||
unsigned long flags;
|
||||
|
||||
spin_lock_irqsave(&apr_ch->w_lock, flags);
|
||||
rc = glink_tx(apr_ch->handle, pkt_priv, data, len,
|
||||
GLINK_TX_REQ_INTENT | GLINK_TX_ATOMIC);
|
||||
rc = glink_tx(apr_ch->handle, pkt_priv, data, len, GLINK_TX_ATOMIC);
|
||||
spin_unlock_irqrestore(&apr_ch->w_lock, flags);
|
||||
|
||||
if (rc)
|
||||
|
|
Loading…
Add table
Reference in a new issue