Files
linux/drivers
Ming Lei ce9426d190 ath9k: fix dma sync in rx path
If buffer is to be accessed by cpu after dma is over, but
between dma mapping and dma unmapping, we should use
dma_sync_single_for_cpu to sync the buffer between cpu with
device. And dma_sync_single_for_device is used to let
device gain the buffer again.

v2: Felix pointed out dma_sync_single_for_device is needed to return
buffer to device if an unsuccessful status bit check is found.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-06-04 14:55:09 -04:00
..
…
2010-05-10 23:08:19 +02:00
…
…
…
…
…
…
2010-04-26 11:51:59 +02:00
2010-06-04 14:55:09 -04:00
2010-04-28 01:07:29 -06:00
…
2010-04-23 02:08:44 +02:00
…
…
…
…
…
2010-04-24 11:31:25 -07:00
…
2010-05-07 14:01:17 -07:00