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-20 09:45:38 -07:00
2010-05-20 09:27:37 -07:00
2010-05-17 17:44:36 -07:00
2010-05-20 09:03:55 -07:00
2010-05-20 09:20:59 -07:00
2010-05-20 21:04:44 -07:00
2010-05-20 10:33:06 -07:00
2010-05-19 17:10:57 -07:00
2010-05-18 08:49:13 -07:00
2010-05-10 23:08:19 +02:00
2010-05-19 11:36:03 -07:00
2010-04-30 10:15:39 -07:00
2010-05-20 09:20:59 -07:00
2010-05-20 12:00:43 +02:00
2010-05-20 09:20:59 -07:00
2010-05-20 13:21:38 -07:00
2010-05-11 17:38:04 -07:00
2010-05-20 09:41:17 -07:00
2010-05-10 10:23:15 +02:00
2010-05-20 21:04:44 -07:00
2010-05-20 21:26:12 -07:00
2010-05-20 21:04:44 -07:00
2010-04-23 02:08:44 +02:00
2010-05-07 21:10:57 +10:00
2010-05-20 21:26:12 -07:00
2010-04-26 11:51:59 +02:00
2010-05-20 12:00:43 +02:00
2010-05-20 09:20:59 -07:00
2010-05-19 11:37:22 -07:00
2010-05-10 10:23:14 +02:00
2010-06-04 14:55:09 -04:00
2010-04-28 01:07:29 -06:00
2010-05-03 23:02:39 +02:00
2010-05-10 10:23:14 +02:00
2010-05-20 09:20:59 -07:00
2010-05-20 09:09:46 -07:00
2010-04-23 15:23:21 -04:00
2010-05-06 22:04:31 -04:00
2010-04-23 02:08:44 +02:00
2010-05-20 09:20:59 -07:00
2010-05-20 09:20:59 -07:00
2010-05-20 21:04:44 -07:00
2010-04-27 18:48:52 -07:00
2010-05-20 21:04:44 -07:00
2010-05-20 09:09:46 -07:00
2010-05-13 17:43:11 +09:00
2010-05-20 09:20:59 -07:00
2010-06-03 14:10:44 -04:00
2010-05-20 21:26:12 -07:00
2010-05-10 10:23:14 +02:00
2010-05-20 21:26:12 -07:00
2010-05-16 22:26:58 -07:00
2010-05-20 13:34:17 -07:00
2010-04-23 02:08:44 +02:00
2010-05-14 16:59:54 +02:00
2010-04-24 11:31:25 -07:00
2010-05-20 13:21:38 -07:00
2010-05-06 18:49:20 +02:00
2010-05-17 21:37:42 +02:00
2010-05-07 14:01:17 -07:00