From: Nicolas Pitre Date: Sun, 19 Jul 2009 00:34:37 +0000 (-0400) Subject: mvsdio: fix handling of partial word at the end of PIO transfer X-Git-Tag: v2.6.31-rc4~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cdbf734493d6e8f5afc6f539b82897772809d43;p=pandora-kernel.git 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: Nicolas Pitre CC: stable@kernel.org Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed