]> git.karo-electronics.de Git - karo-tx-linux.git/commit
p54pci: update receive dma buffers before and after processing
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 11 Feb 2011 00:48:42 +0000 (01:48 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:45:17 +0000 (12:45 -0700)
commit4f621cb1fec1309fce287a85ba89fed273aef429
treec2e99c3feab6ce0dc1973fa53af2b6a10f107d7c
parent8ed9cf293b7b5b6530afd1b80ec86b5f649ba51f
p54pci: update receive dma buffers before and after processing

commit 0bf719dfdecc5552155cbec78e49fa06e531e35c upstream.

Documentation/DMA-API-HOWTO.txt states:

"DMA transfers need to be synced properly in order for
the cpu and device to see the most uptodate and correct
copy of the DMA buffer."

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/p54/p54pci.c