diff options
author | Ido Yariv <ido@wizery.com> | 2012-11-28 10:42:49 +0100 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-12-11 11:37:24 +0100 |
commit | 2e07d02828759a506b5205b2cff40daa58df5bf7 (patch) | |
tree | 46494a77713df5aa44667afa1ae596d945ae2deb /drivers/net/arcnet | |
parent | wl18xx: count HW block spare based correctly on keys (diff) | |
download | linux-2e07d02828759a506b5205b2cff40daa58df5bf7.tar.xz linux-2e07d02828759a506b5205b2cff40daa58df5bf7.zip |
wlcore: Always pass DMA-able buffers to mmc functions
Some of the mmc drivers initiate DMA transfers with buffers passed from
higher layers. This means that the driver shouldn't ever pass non
DMA-able buffers, such as ones that are unaligned, allocated on the
stack or static.
Fix a couple of calls to the mmc layer in which buffers which weren't
necessarily DMA-able were passed.
[Use sizeof(*wl->buffer_32) instead of sizeof(u32) -- Luca]
Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/arcnet')
0 files changed, 0 insertions, 0 deletions