android_kernel_xiaomi_sm8350/drivers/mmc/host
Girish K S 49bb1e6195 mmc: sdhci-s3c: Fix mmc card I/O problem
This patch fixes the problem in sdhci-s3c host driver for Samsung Soc's.
During the card identification stage the mmc core driver enumerates for
the best bus width in combination with the highest available data rate.
It starts enumerating from the highest bus width (8) to lowest width (1).

In case of few MMC cards the 4-bit bus enumeration fails and tries
the 1-bit bus enumeration. When switched to 1-bit bus mode the host driver
has to clear the previous bus width setting and apply the new setting.

The current patch will clear the previous bus mode and apply the new
mode setting.

Signed-off-by: Girish K S <girish.shivananjappa@linaro.org>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Cc: <stable@kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2011-08-31 16:25:52 -04:00
..
at91_mci.c mmc: at91_mci: move register header from include/ to drivers/ 2011-07-21 10:35:08 -04:00
at91_mci.h mmc: at91_mci: move register header from include/ to drivers/ 2011-07-21 10:35:08 -04:00
atmel-mci-regs.h
atmel-mci.c mmc: atmel-mci: add suspend/resume support 2011-07-20 17:21:08 -04:00
au1xmmc.c
bfin_sdh.c
cb710-mmc.c
cb710-mmc.h
davinci_mmc.c
dw_mmc.c mmc: dw_mmc: Fix DDR mode support. 2011-08-13 14:50:32 -04:00
dw_mmc.h mmc: dw_mmc: don't hard code fifo depth, fix usage 2011-07-20 17:20:59 -04:00
imxmmc.c
imxmmc.h
jz4740_mmc.c
Kconfig mmc: kconfig: remove EXPERIMENTAL from the DMA selection of atmel-mci 2011-07-20 17:21:09 -04:00
Makefile mmc: tmio: Fix build error without CONFIG_MMC_SDHI 2011-07-20 17:21:00 -04:00
mmc_spi.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mmci.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2011-07-24 10:20:54 -07:00
mmci.h mmc: mmci: implement pre_req() and post_req() 2011-07-20 17:21:11 -04:00
msm_sdcc.c
msm_sdcc.h
mvsdio.c
mvsdio.h
mxcmmc.c ARM i.MX dma: Fix burstsize settings 2011-07-07 09:55:50 +02:00
mxs-mmc.c mmc: mxs-mmc: fix clock rate setting 2011-07-21 10:35:08 -04:00
of_mmc_spi.c mmc: of_mmc_spi: add NO_IRQ define to of_mmc_spi.c 2011-06-18 22:18:00 -04:00
omap_hsmmc.c mmc: omap_hsmmc: fix oops in omap_hsmmc_dma_cb() 2011-07-21 10:35:04 -04:00
omap.c mmc: omap: Fix possible NULL pointer deref 2011-04-27 19:15:12 -04:00
pxamci.c
pxamci.h
s3cmci.c Fix common misspellings 2011-03-31 11:26:23 -03:00
s3cmci.h
sdhci-cns3xxx.c mmc: sdhci: change sdhci-pltfm into a module 2011-07-20 17:20:49 -04:00
sdhci-dove.c mmc: sdhci: change sdhci-pltfm into a module 2011-07-20 17:20:49 -04:00
sdhci-esdhc-imx.c mmc: sdhci-esdhc-imx: add missing inclusion of linux/module.h 2011-08-28 14:10:00 -04:00
sdhci-esdhc.h
sdhci-of-esdhc.c mmc: sdhci: change sdhci-pltfm into a module 2011-07-20 17:20:49 -04:00
sdhci-of-hlwd.c mmc: sdhci: change sdhci-pltfm into a module 2011-07-20 17:20:49 -04:00
sdhci-pci.c mmc: sdhci-pci: allow 8-bit bus width for Intel Medfield eMMCs 2011-07-20 17:21:07 -04:00
sdhci-pltfm.c mmc: sdhci-pltfm: dt device does not pass parent to sdhci_alloc_host 2011-07-27 09:31:33 +08:00
sdhci-pltfm.h mmc: sdhci: change sdhci-pltfm into a module 2011-07-20 17:20:49 -04:00
sdhci-pxav2.c mmc: sdhci-pxa: move platform data to include/linux/platform_data 2011-07-20 17:20:52 -04:00
sdhci-pxav3.c mmc: sdhci: pxav3: controller needs 32 bit ADMA addressing 2011-08-13 14:50:20 -04:00
sdhci-s3c.c mmc: sdhci-s3c: Fix mmc card I/O problem 2011-08-31 16:25:52 -04:00
sdhci-spear.c drivers: Final irq namespace conversion 2011-03-29 14:48:19 +02:00
sdhci-tegra.c mmc: sdhci: change sdhci-pltfm into a module 2011-07-20 17:20:49 -04:00
sdhci.c mmc: sdhci: use f_max instead of host->clock for timeouts 2011-08-13 14:50:30 -04:00
sdhci.h mmc: sdhci: Auto-CMD23 support. 2011-05-25 16:51:40 -04:00
sdricoh_cs.c pcmcia: Convert pcmcia_device_id declarations to const 2011-05-06 07:46:22 +02:00
sh_mmcif.c mmc: sh_mmcif: maximize power saving 2011-07-21 10:35:06 -04:00
sh_mobile_sdhi.c mmc: sdhi: initialise mmc_data->flags before use 2011-08-31 16:25:51 -04:00
tifm_sd.c
tmio_mmc_dma.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2011-07-22 14:43:13 -07:00
tmio_mmc_pio.c mmc: tmio: fix a deadlock 2011-07-21 10:35:07 -04:00
tmio_mmc.c mmc: tmio: eliminate unused variable 'mmc' warning 2011-08-13 14:50:27 -04:00
tmio_mmc.h MMC / TMIO: Fix build issue related to struct scatterlist 2011-07-26 11:52:55 -07:00
ushc.c
via-sdmmc.c
vub300.c Merge branch 'master' into for-next 2011-07-11 14:15:55 +02:00
wbsd.c Fix common misspellings 2011-03-31 11:26:23 -03:00
wbsd.h