From: Philip Rakity Date: Thu, 7 Jul 2011 16:04:55 +0000 (-0700) Subject: mmc: core: Bus width testing needs to handle suspend/resume X-Git-Tag: v3.0~37^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f39b2dd9d065151a04f5996656d1f27a7eb32d45;p=pandora-kernel.git 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 Tested-by: Jaehoon Chung Signed-off-by: Chris Ball --- Reading git-diff-tree failed