From: Ohad Ben-Cohen Date: Sun, 28 Nov 2010 05:21:29 +0000 (+0200) Subject: mmc: sdio: don't reinitialize nonremovable powered-resumed cards X-Git-Tag: v2.6.38-rc1~418^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=080bc9774b6f1e3866747b18631bad26f47c22ce;p=pandora-kernel.git mmc: sdio: don't reinitialize nonremovable powered-resumed cards Upon system resume, SDIO core must reinitialize cards that were powered off during suspend. If the card had its power kept during suspend (and thus it is 'powered-resumed'), SDIO core performs only a limited reinitializing, mainly needed to make sure that the card wasn't removed/replaced. If a __nonremovable__ card is powered-resumed, we can safely skip the reinitializing phase. Note: 9b966aa (mmc: sdio: fully reconfigure oldcard on resume) removed the bus width reconfiguration since mmc_sdio_init_card already does it. It is brought back now in case mmc_sdio_init_card is skipped. Signed-off-by: Ohad Ben-Cohen Signed-off-by: Chris Ball --- Reading git-diff-tree failed