Skip to content
Commit 6cdbf734 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Linus Torvalds
Browse files

mvsdio: fix handling of partial word at the end of PIO transfer



Standard data flow for MMC/SD/SDIO cards requires that the mvsdio
controller be set for big endian operation.  This is causing problems
with buffers which length is not a multiple of 4 bytes as the last
partial word doesn't get shifted all the way and stored properly in
memory.  Let's compensate for this.

Signed-off-by: default avatarNicolas Pitre <nico@marvell.com>
CC: stable@kernel.org
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0ecf24ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment