diff options
author | Philip Rakity <prakity@marvell.com> | 2011-07-07 18:04:55 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-13 20:54:37 +0200 |
commit | f39b2dd9d065151a04f5996656d1f27a7eb32d45 (patch) | |
tree | 3801f7d6793529d737fcbfd6af05b6900ef2cd06 /net/sctp/sm_sideeffect.c | |
parent | mmc: queue: bring discard_granularity/alignment into line with SCSI (diff) | |
download | linux-f39b2dd9d065151a04f5996656d1f27a7eb32d45.tar.xz linux-f39b2dd9d065151a04f5996656d1f27a7eb32d45.zip |
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 08ee80cc397ac1a3
("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>
Diffstat (limited to 'net/sctp/sm_sideeffect.c')
0 files changed, 0 insertions, 0 deletions