Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e87c7bcf authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: dma unmap of proper mapped size"

parents 8425d4a2 a1de58bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1667,7 +1667,7 @@ static void ipa3_cleanup_wlan_rx_common_cache(void)
		&ipa3_ctx->wc_memb.wlan_comm_desc_list, link) {
		list_del(&rx_pkt->link);
		dma_unmap_single(ipa3_ctx->pdev, rx_pkt->data.dma_addr,
				IPA_WLAN_COMM_RX_POOL_LOW, DMA_FROM_DEVICE);
				IPA_WLAN_RX_BUFF_SZ, DMA_FROM_DEVICE);
		dev_kfree_skb_any(rx_pkt->data.skb);
		kmem_cache_free(ipa3_ctx->rx_pkt_wrapper_cache, rx_pkt);
		ipa3_ctx->wc_memb.wlan_comm_free_cnt--;