OpenCloudOS-Kernel/include/linux/mmc
Philip Rakity f39b2dd9d0 mmc: core: Bus width testing needs to handle suspend/resume
On reading the ext_csd for the first time (in 1 bit mode), save the
ext_csd information needed for bus width compare.

On every pass we make re-reading the ext_csd, compare the data
against the saved ext_csd data.

This fixes a regression introduced in 3.0-rc1 by 08ee80cc39
("mmc: core: eMMC bus width may not work on all platforms"), which
incorrectly assumed we would be re-reading the ext_csd at resume-
time.

Signed-off-by: Philip Rakity <prakity@marvell.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2011-07-13 14:54:37 -04:00
..
Kbuild mmc: core: Add mmc CMD+ACMD passthrough ioctl 2011-05-24 21:02:54 -04:00
boot.h mmc: Add MMC_PROGRESS_* 2011-03-25 01:24:57 +09:00
card.h mmc: core: Bus width testing needs to handle suspend/resume 2011-07-13 14:54:37 -04:00
core.h mmc: core: Use CMD23 for multiblock transfers when we can. 2011-05-25 16:48:46 -04:00
dw_mmc.h Fix common misspellings 2011-03-31 11:26:23 -03:00
host.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc 2011-05-25 16:55:55 -07:00
ioctl.h mmc: core: Add mmc CMD+ACMD passthrough ioctl 2011-05-24 21:02:54 -04:00
mmc.h mmc: core: Use CMD23 for multiblock transfers when we can. 2011-05-25 16:48:46 -04:00
pm.h sdio: introduce API for special power management features 2010-03-06 11:26:36 -08:00
sd.h mmc: core: Block CMD23 support for UHS104/SDXC cards. 2011-05-25 16:49:03 -04:00
sdhci-pltfm.h mmc: sdhci_pltfm: pass more data on custom init call 2010-10-23 21:11:22 +08:00
sdhci-spear.h sdhci-spear: ST SPEAr based SDHCI controller glue 2010-05-27 09:12:40 -07:00
sdhci.h mmc: sdhci: Auto-CMD23 support. 2011-05-25 16:51:40 -04:00
sdio.h mmc: avoid getting CID on SDIO-only cards 2010-09-09 18:57:22 -07:00
sdio_func.h sdio: add new function for RAW (Read after Write) operation 2010-05-27 09:12:40 -07:00
sdio_ids.h Bluetooth: Support SDIO devices that are AMP controllers 2010-10-12 12:44:51 -03:00
sh_mmcif.h mmc: Add MMC_PROGRESS_* 2011-03-25 01:24:57 +09:00
sh_mobile_sdhi.h mmc: sdhi: allow powering down controller with no card inserted 2011-05-24 23:53:55 -04:00
tmio.h mmc: tmio_mmc: Move some defines into a shared header 2011-03-26 15:58:50 -04:00