android_kernel_xiaomi_sm8350/drivers/mmc/host
Philip Rakity 15ec446119 mmc: sdhci: 8-bit bus width changes
We now:
 * check for a v3 controller before setting 8-bit bus width
 * offer a callback for platform code to switch to 8-bit mode, which
   allows non-v3 controllers to support it
 * rely on mmc->caps |= MMC_CAP_8_BIT_DATA; in platform code to specify
   that the board designers have indeed brought out all the pins for
   8-bit to the slot.

We were previously relying only on whether the *controller* supported
8-bit, which doesn't tell us anything about the pin configuration in
the board design.

This fixes the MMC card regression reported by Maxim Levitsky here:
   http://thread.gmane.org/gmane.linux.kernel.mmc/4336
by no longer assuming that 8-bit works by default.

Signed-off-by: Philip Rakity <prakity@marvell.com>
Tested-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2010-11-22 15:12:04 -05:00
..
at91_mci.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
atmel-mci-regs.h
atmel-mci.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
au1xmmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
bfin_sdh.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
cb710-mmc.c mmc: cb710: remove debugging printk (info duplicated from mmc-core) 2010-10-23 21:11:21 +08:00
cb710-mmc.h
davinci_mmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
imxmmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
imxmmc.h
jz4740_mmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
Kconfig Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc 2010-10-28 09:33:42 -07:00
Makefile mmc: add new sdhci-pxa driver for Marvell SoCs 2010-10-25 09:29:07 +08:00
mmc_spi.c mmc_spi: Recover from CRC errors for r/w operation over SPI. 2010-10-23 21:11:22 +08:00
mmci.c mmc: Move regulator handling closer to core 2010-10-23 21:11:16 +08:00
mmci.h ARM: 6437/2: mmci: add some register defines for ST Micro variants 2010-10-11 22:54:34 +01:00
msm_sdcc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
msm_sdcc.h
mvsdio.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
mvsdio.h
mxcmmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
of_mmc_spi.c
omap_hsmmc.c mmc: omap4: hsmmc: Fix improper card detection while booting 2010-11-17 22:37:44 -05:00
omap.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
pxamci.c mmc: Move regulator handling closer to core 2010-10-23 21:11:16 +08:00
pxamci.h
s3cmci.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
s3cmci.h
sdhci-cns3xxx.c mmc: sdhci-pltfm: move .h file into appropriate subdir 2010-10-23 21:11:21 +08:00
sdhci-esdhc-imx.c mmc: sdhci-esdhc-imx: enable QUIRK_NO_MULTIBLOCK only for i.MX25 and i.MX35 2010-11-07 17:52:27 -05:00
sdhci-esdhc.h mmc: sdhci-of-esdhc: factor out common stuff 2010-10-23 21:11:22 +08:00
sdhci-of-core.c
sdhci-of-esdhc.c mmc: sdhci-of-esdhc: factor out common stuff 2010-10-23 21:11:22 +08:00
sdhci-of-hlwd.c
sdhci-of.h
sdhci-pci.c mmc: sdhci: Fix crash on boot with C0 stepping Moorestown platforms 2010-11-09 09:33:24 -05:00
sdhci-pltfm.c mmc: sdhci-pltfm: add -pltfm driver for imx35/51 2010-10-23 21:11:22 +08:00
sdhci-pltfm.h mmc: sdhci-pltfm: add -pltfm driver for imx35/51 2010-10-23 21:11:22 +08:00
sdhci-pxa.c mmc: sdhci: 8-bit bus width changes 2010-11-22 15:12:04 -05:00
sdhci-s3c.c mmc: sdhci-s3c: fix NULL ptr access in sdhci_s3c_remove 2010-09-26 16:27:05 -04:00
sdhci-spear.c
sdhci.c mmc: sdhci: 8-bit bus width changes 2010-11-22 15:12:04 -05:00
sdhci.h mmc: sdhci: 8-bit bus width changes 2010-11-22 15:12:04 -05:00
sdricoh_cs.c pcmcia: move driver name to struct pcmcia_driver 2010-09-29 17:20:24 +02:00
sh_mmcif.c mmc: Allow the platform to specify the sh_mmcif get_cd handler 2010-10-29 00:29:13 +02:00
tifm_sd.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
tmio_mmc.c mmc: Allow 2 byte requests in 4-bit mode for tmio_mmc 2010-10-29 00:29:16 +02:00
tmio_mmc.h mmc: fix the use of kunmap_atomic() in tmio_mmc.h 2010-09-09 18:57:23 -07:00
ushc.c mmc: ushc: Return proper error code for ushc_probe() 2010-11-07 16:45:11 -05:00
via-sdmmc.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
wbsd.c mmc: Remove distinction between hw and phys segments 2010-10-23 21:11:11 +08:00
wbsd.h