From: Russell King Date: Fri, 25 Apr 2014 11:58:29 +0000 (+0100) Subject: mmc: sdhci: avoid sync'ing the SG if there's no misalignment X-Git-Tag: omap-for-v3.16/fixes-against-rc1~65^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de0b65a786ae83c8f6dfb712f65b9a36af70a981;p=pandora-kernel.git mmc: sdhci: avoid sync'ing the SG if there's no misalignment On read, we don't need to sync the whole scatterlist and then check whether any segments need copying - if we check first, we avoid potentially expensive cache handling. Signed-off-by: Russell King Tested-by: Markus Pargmann Tested-by: Stephen Warren Signed-off-by: Ulf Hansson Signed-off-by: Chris Ball --- Reading git-diff-tree failed