On 2010-05-15 12:25 PM, Ming Lei wrote: > From edd368e7436e7a80c5a43e7ad40cff1f3fa20806 Mon Sep 17 00:00:00 2001 > From: Ming Lei <tom.leiming@xxxxxxxxx> > Date: Fri, 14 May 2010 17:35:51 +0800 > Subject: [PATCH 2/2] ath9k: fix dma sync in rx path(v2) > > 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@xxxxxxxxx> > Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> Thanks, I will test that later and let you know if it works. - Felix -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html