summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-08-26 14:48:34 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-26 14:48:34 -0700
commiteb5cb31c18242b53cdbba61b80d53a837cf056df (patch)
treeb3a9a9a1d49f81783cdffb789c5ae07c143920ed /drivers/platform
parent605f313ca953a1fb6147b33048a8d10ad83028df (diff)
parent7e59fd56bf055a3e657d75fb2865803e01829534 (diff)
Merge "msm: ipa3: fix the dma_map_single issue"
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/msm/ipa/ipa_v3/ipa_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c
index 8f61827b50b4..b5a44a201852 100644
--- a/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c
+++ b/drivers/platform/msm/ipa/ipa_v3/ipa_dp.c
@@ -2011,7 +2011,7 @@ static void ipa3_alloc_wlan_rx_common_cache(u32 size)
goto fail_skb_alloc;
}
ptr = skb_put(rx_pkt->data.skb, IPA_WLAN_RX_BUFF_SZ);
- rx_pkt->data.dma_addr = dma_map_single(NULL, ptr,
+ rx_pkt->data.dma_addr = dma_map_single(ipa3_ctx->pdev, ptr,
IPA_WLAN_RX_BUFF_SZ, DMA_FROM_DEVICE);
if (rx_pkt->data.dma_addr == 0 ||
rx_pkt->data.dma_addr == ~0) {