mwifiex: use pci_dma_sync_single* APIs
authorAmitkumar Karwar <akarwar@marvell.com>
Tue, 24 Jan 2017 13:35:45 +0000 (19:05 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 28 Jan 2017 07:10:04 +0000 (09:10 +0200)
commitcc37d8efd2ba3a4cf395a727935f920c00b6f1a2
tree43131ae631b12d93cc23465bcb2912318e4c104e
parent3e66849865edca1d04c9c6227b9153e9bdbdaec0
mwifiex: use pci_dma_sync_single* APIs

On some platforms, driver is unable read sleep cookie signature even
if firmware has written it through DMA. The problem is fixed by using
pci_dma_sync_single* APIs while reading DMA buffer shared with firmware.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/pcie.c