From: Sahitya Tummala Date: Wed, 8 Dec 2010 09:33:06 +0000 (+0530) Subject: mmc: msm_sdcc: Fix bug in PIO mode when data size is not word aligned X-Git-Tag: v2.6.38-rc1~473^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71dd9106af54de0f758875fa4b595af42a327448;p=pandora-kernel.git 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 Signed-off-by: David Brown --- Reading git-diff-tree failed