commit | de0b65a786ae83c8f6dfb712f65b9a36af70a981 | [log] [tgz] |
---|---|---|
author | Russell King <rmk+kernel@arm.linux.org.uk> | Fri Apr 25 12:58:29 2014 +0100 |
committer | Chris Ball <chris@printf.net> | Thu May 22 07:26:29 2014 -0400 |
tree | 5e806a20e51bafdb7a42e209239b98ab0620ceb6 | |
parent | 0718e59ae259f7c48155b4e852d8b0632d59028e [diff] |
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 <rmk+kernel@arm.linux.org.uk> Tested-by: Markus Pargmann <mpa@pengutronix.de> Tested-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <chris@printf.net>