]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit37f3c8f4d558466ef496d4130acf673410def2e7
tree43131ae631b12d93cc23465bcb2912318e4c104e
parent1c2ae1c150eb991169ce87d918b86639d3e03a86
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