kernel-hacking-2024-linux-s.../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
..
boot.h
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
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
Kbuild
mmc.h mmc: core: Use CMD23 for multiblock transfers when we can. 2011-05-25 16:48:46 -04:00
pm.h
sd.h mmc: core: Block CMD23 support for UHS104/SDXC cards. 2011-05-25 16:49:03 -04:00
sdhci-pltfm.h
sdhci-spear.h
sdhci.h mmc: sdhci: Auto-CMD23 support. 2011-05-25 16:51:40 -04:00
sdio.h
sdio_func.h
sdio_ids.h
sh_mmcif.h
sh_mobile_sdhi.h
tmio.h