linux-stable/drivers/mmc/host
Russell King 47fa961340 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>
2016-02-29 11:03:19 +01:00
..
android-goldfish.c
atmel-mci.c mmc: atmel-mci: remove the MMC_DATA_STREAM flag 2016-02-29 11:02:58 +01:00
au1xmmc.c
bfin_sdh.c mmc: bfin_sdh: remove the MMC_DATA_STREAM flag 2016-02-29 11:02:59 +01:00
cb710-mmc.c
cb710-mmc.h mmc: cb710: use to_platform_device() 2016-01-05 18:04:57 +01:00
davinci_mmc.c mmc: davinci_mmc: remove the MMC_DATA_STREAM flag 2016-02-29 11:02:59 +01:00
dw_mmc-exynos.c mmc: dw_mmc: remove the prepare_command hook 2016-02-29 11:03:09 +01:00
dw_mmc-exynos.h
dw_mmc-k3.c
dw_mmc-pci.c
dw_mmc-pltfm.c mmc: dw_mmc: remove the prepare_command hook 2016-02-29 11:03:09 +01:00
dw_mmc-pltfm.h
dw_mmc-rockchip.c mmc: dw_mmc: remove the prepare_command hook 2016-02-29 11:03:09 +01:00
dw_mmc.c mmc: dw_mmc: fix num_slots setting 2016-02-29 11:03:11 +01:00
dw_mmc.h mmc: dw_mmc: add hw_reset support 2016-02-29 11:03:09 +01:00
jz4740_mmc.c mmc: jz4740_mmc: remove the MMC_DATA_STREAM flag 2016-02-29 11:03:00 +01:00
Kconfig mmc: sdhci-pic32: Add PIC32 SDHCI host controller driver 2016-02-29 11:03:12 +01:00
Makefile mmc: sdhci-pic32: Add PIC32 SDHCI host controller driver 2016-02-29 11:03:12 +01:00
mmc_spi.c mmc: mmc_spi: add checks for dma mapping error 2016-02-08 15:22:04 +01:00
mmci.c mmc: mmci: support 8bit mode on the Nomadik 2016-01-14 10:47:46 +01:00
mmci.h
mmci_qcom_dml.c
mmci_qcom_dml.h
moxart-mmc.c
mtk-sd.c mmc: mediatek: change some dev_err to dev_dbg 2015-12-22 11:32:17 +01:00
mvsdio.c mmc: mvsdio: delete platform data code path 2015-12-22 11:32:12 +01:00
mvsdio.h
mxcmmc.c mmc: mxcmmc: remove the MMC_DATA_STREAM flag 2016-02-29 11:03:00 +01:00
mxs-mmc.c
of_mmc_spi.c mmc: of_mmc_spi: Add IRQF_ONESHOT to interrupt flags 2015-12-22 11:32:17 +01:00
omap.c
omap_hsmmc.c mmc: omap_hsmmc: don't print uninitialized variables 2016-02-29 11:02:52 +01:00
pxamci.c mmc: pxamci: remove the MMC_DATA_STREAM flag 2016-02-29 11:03:01 +01:00
pxamci.h
rtsx_pci_sdmmc.c
rtsx_usb_sdmmc.c
s3cmci.c mmc: s3cmci: remove the MMC_DATA_STREAM flag 2016-02-29 11:03:01 +01:00
s3cmci.h
sdhci-acpi.c mmc: sdhci-acpi: enable sdhci-acpi device to suspend/resume asynchronously 2016-02-29 11:02:52 +01:00
sdhci-bcm-kona.c
sdhci-bcm2835.c
sdhci-cns3xxx.c
sdhci-dove.c
sdhci-esdhc-imx.c mmc: sdhci-esdhc-imx: correct the tuning-step setting 2015-12-22 11:32:09 +01:00
sdhci-esdhc.h
sdhci-iproc.c mmc: sdhci-iproc: use sdhci_pltfm_unregister directly 2016-02-29 11:02:55 +01:00
sdhci-msm.c mmc: mmc: extend the mmc_send_tuning() 2015-10-27 10:38:41 +01:00
sdhci-of-arasan.c mmc: sdhci-of-arasan: Remove no-hispd and no-cmd23 quirks for sdhci-arasan4.9a 2016-02-29 11:02:48 +01:00
sdhci-of-at91.c mmc: sdhci-of-at91: fix pm runtime unbalanced issue in error path 2016-02-02 14:09:14 +01:00
sdhci-of-esdhc.c mmc: sdhci-of-esdhc: add/remove some quirks according to vendor version 2015-12-22 11:32:11 +01:00
sdhci-of-hlwd.c
sdhci-pci-core.c mmc: sdhci-pci: Fix card detect race for Intel BXT/APL 2016-02-11 11:39:56 +01:00
sdhci-pci-data.c
sdhci-pci-o2micro.c
sdhci-pci-o2micro.h
sdhci-pci.h mmc: sdhci-pci: Add more PCI IDs for Intel controllers 2015-10-26 16:00:19 +01:00
sdhci-pic32.c mmc: sdhci-pic32: Add PIC32 SDHCI host controller driver 2016-02-29 11:03:12 +01:00
sdhci-pltfm.c mmc: core: enable support for the standard "wakeup-source" property 2015-12-22 11:32:01 +01:00
sdhci-pltfm.h
sdhci-pxav2.c
sdhci-pxav3.c mmc: sdhci-pxav3: fix higher speed mode capabilities 2016-02-29 11:03:16 +01:00
sdhci-s3c-regs.h
sdhci-s3c.c
sdhci-sirf.c mmc: mmc: extend the mmc_send_tuning() 2015-10-27 10:38:41 +01:00
sdhci-spear.c
sdhci-st.c
sdhci-tegra.c mmc: tegra: use correct accessor for misc ctrl register 2016-01-05 18:04:56 +01:00
sdhci.c mmc: sdhci: avoid walking SG list for writes 2016-02-29 11:03:19 +01:00
sdhci.h mmc: sdhci: Allow override of mmc host operations 2016-02-11 11:39:56 +01:00
sdhci_f_sdh30.c
sdricoh_cs.c mmc: sdricoh_cs: Less checks in sdricoh_init_mmc() after, error detection 2016-02-29 11:02:45 +01:00
sh_mmcif.c mmc: sh_mmcif: use to_delayed_work 2016-02-29 11:02:46 +01:00
sh_mobile_sdhi.c mmc: sdhi: use faster clock handling on RCar Gen2 2016-02-29 11:03:05 +01:00
sunxi-mmc.c mmc: sunxi-mmc: remove the MMC_DATA_STREAM flag 2016-02-29 11:03:02 +01:00
tifm_sd.c
tmio_mmc.c
tmio_mmc.h
tmio_mmc_dma.c mmc: tmio_dma: remove debug messages with little information 2016-02-29 11:03:03 +01:00
tmio_mmc_pio.c mmc: tmio: disable clock before changing it 2016-02-29 11:03:06 +01:00
toshsd.c
toshsd.h
usdhi6rol0.c mmc: usdhi6rol0: use to_delayed_work 2016-02-29 11:02:46 +01:00
ushc.c
via-sdmmc.c
vub300.c
wbsd.c
wbsd.h
wmt-sdmmc.c