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)
commit71dd9106af54de0f758875fa4b595af42a327448
treec695aa16ad30d59cb04a0f3dd7073a0a196df957
parentb08bb35d1a5ee5426198eb3a2861008c2e9e6fc4
mmc: msm_sdcc: Fix bug in PIO mode when data size is not word aligned

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>
drivers/mmc/host/msm_sdcc.c
This page took 0.026498 seconds and 5 git commands to generate.