OSDN Git Service

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)
committerYoshinori Sato <ysato@users.sourceforge.jp>
Mon, 28 Feb 2011 08:16:53 +0000 (17:16 +0900)
commit6c653a6f96c829b68a61903121e95bb1d4c775b7
tree5e9bd2b5b6b94662894c7b6f84036af9e8f0e91b
parent4155d90b3ba89c15de29128c81d2a4be317dc14e
p54pci: update receive dma buffers before and after processing

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."

Cc: <stable@kernel.org>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54pci.c