ath10k: convert pci_alloc_consistent() to dma_alloc_coherent()
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 28 Mar 2014 08:02:35 +0000 (10:02 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 28 Mar 2014 12:32:01 +0000 (14:32 +0200)
commit68c03249f388aafe74f0e87e2743294d4384c00c
tree2c85edaa02f4ae855d873da75f0ad56f7d277205
parentc508671dd589e75c0d5092a0a3c15d0375d3ce48
ath10k: convert pci_alloc_consistent() to dma_alloc_coherent()

This allows to use GFP_KERNEL allocation. This
should decrease chance of allocation failure, e.g.
during firmware recovery.

Reported-By: Avery Pennarun <apenwarr@gmail.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/ce.c
drivers/net/wireless/ath/ath10k/pci.c