summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-01-26 14:40:06 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2016-02-29 11:03:19 +0100
commit47fa961340d2181ebf1165b7651dcbb1b1029163 (patch)
tree946433cc998c70b121b2cf08a4766234ed2a90cd /COPYING
parentmmc: sdhci: clean up coding style in sdhci_adma_table_pre() (diff)
downloadlinux-47fa961340d2181ebf1165b7651dcbb1b1029163.tar.xz
linux-47fa961340d2181ebf1165b7651dcbb1b1029163.zip
mmc: sdhci: avoid walking SG list for writes
If we are writing data to the card, there is no point in walking the scatterlist to find out if there are any unaligned entries; this is a needless waste of CPU cycles. Avoid this by checking for a non-read tranfer first. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Tested-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions