Merge "soc: qcom: glink: Add pending remote done packets to intent purge"
This commit is contained in:
commit
421c7867d1
1 changed files with 8 additions and 0 deletions
|
@ -1670,6 +1670,14 @@ void ch_purge_intent_lists(struct channel_ctx *ctx)
|
|||
}
|
||||
spin_unlock_irqrestore(&ctx->tx_lists_lock_lhc3, flags);
|
||||
|
||||
spin_lock_irqsave(&ctx->tx_pending_rmt_done_lock_lhc4, flags);
|
||||
list_for_each_entry_safe(tx_info, tx_info_temp,
|
||||
&ctx->tx_pending_remote_done, list_done) {
|
||||
ctx->notify_tx_abort(ctx, ctx->user_priv, tx_info->pkt_priv);
|
||||
rwref_put(&tx_info->pkt_ref);
|
||||
}
|
||||
spin_unlock_irqrestore(&ctx->tx_pending_rmt_done_lock_lhc4, flags);
|
||||
|
||||
spin_lock_irqsave(&ctx->local_rx_intent_lst_lock_lhc1, flags);
|
||||
list_for_each_entry_safe(ptr_intent, tmp_intent,
|
||||
&ctx->local_rx_intent_list, list) {
|
||||
|
|
Loading…
Add table
Reference in a new issue