]> rtime.felk.cvut.cz Git - linux-imx.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)
committerAK <andi@firstfloor.org>
Thu, 31 Mar 2011 18:58:11 +0000 (11:58 -0700)
commitdb07f6d4d8cfc7cf067075d0d8d77bb10abe9282
tree9f54b6df8e0d4eab9984dd6328579c571b840d1e
parentcdb645bdea66542d53216b6c85483b7b6dfd8472
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>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/net/wireless/p54/p54pci.c