From: Ido Yariv Date: Wed, 28 Nov 2012 09:42:49 +0000 (+0200) Subject: wlcore: Always pass DMA-able buffers to mmc functions X-Git-Tag: v3.9-rc1~139^2~2^2^2~42^2~50^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e07d02828759a506b5205b2cff40daa58df5bf7;p=pandora-kernel.git 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 Signed-off-by: Arik Nemtsov Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed