mmc: msm_sdcc: Fix bug in PIO mode when data size is not word aligned
authorSahitya Tummala <stummala@codeaurora.org>
Wed, 8 Dec 2010 09:33:06 +0000 (15:03 +0530)
committerDavid Brown <davidb@codeaurora.org>
Mon, 20 Dec 2010 20:28:31 +0000 (12:28 -0800)
The current code for PIO doesn't transfer whole data when data size
is not in multiple of 4 bytes. The last few bytes are not written to
the card resulting in no DATAEND interrupt from SDCC. This patch
allows data transfer for non-aligned data size in PIO mode.

Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>

No differences found