Merge "msm: ipa3: Fix to unmap LOW LAT consumer pipe buffers"

This commit is contained in:
qctecmdr 2020-11-20 04:33:27 -08:00 • committed by Gerrit - the friendly Code Review server
commit 3da31ea0a2

View file

@ -2784,7 +2784,7 @@ static void ipa3_cleanup_rx(struct ipa3_sys_context *sys)
tail = atomic_read(&sys->repl->tail_idx);
while (head != tail) {
rx_pkt = sys->repl->cache[head];
if (!ipa3_ctx->ipa_wan_skb_page) {
if (sys->repl_hdlr != ipa3_replenish_rx_page_recycle) {
dma_unmap_single(ipa3_ctx->pdev,
rx_pkt->data.dma_addr,
sys->rx_buff_sz,