diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-04-25 12:58:29 +0100 |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-05-22 07:26:29 -0400 |
commit | de0b65a786ae83c8f6dfb712f65b9a36af70a981 (patch) | |
tree | 5e806a20e51bafdb7a42e209239b98ab0620ceb6 /drivers/clk | |
parent | 0718e59ae259f7c48155b4e852d8b0632d59028e (diff) | |
download | linux-de0b65a786ae83c8f6dfb712f65b9a36af70a981.tar.gz linux-de0b65a786ae83c8f6dfb712f65b9a36af70a981.tar.bz2 linux-de0b65a786ae83c8f6dfb712f65b9a36af70a981.zip |
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>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions