diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-11-19 03:22:51 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-26 00:13:08 +0300 |
commit | e91af0af8677198346d5d29f09ab39bb3b0e3faf (patch) | |
tree | 1d3ca86f71498f27855642dbbfc64dead0a7a952 /drivers/char | |
parent | 7e56b5d698707a9934833c47b24d78fb0bcaf764 (diff) | |
download | linux-e91af0af8677198346d5d29f09ab39bb3b0e3faf.tar.xz |
iwlagn: fix DMA sync
For the RX DMA fix for iwlwifi ("iwlagn: fix RX skb alignment") Luis
pointed out:
> aligned_dma_addr can obviously be > real_dma_addr at this point, what
> guarantees we can use it on our own whim?
I asked around, and he's right, there may be platforms that do not allow
passing such such an address to the DMA API functions. This patch
changes it by using the proper dma_sync_single_range_for_cpu API
invented for this purpose.
Cc: Luis R. Rodriguez <mcgrof@gmail.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions