From: Ohad Ben-Cohen Date: Sun, 28 Nov 2010 05:21:28 +0000 (+0200) Subject: mmc: skip detection of nonremovable cards on rescan X-Git-Tag: v2.6.38-rc1~418^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30201e7f3ac639fe98fcd25d40346b65dde9ecba;p=pandora-kernel.git mmc: skip detection of nonremovable cards on rescan mmc_rescan() checks whether registered cards are still present before skipping them, by calling the bus-specific ->detect() handler. With buses that support runtime PM, the card may be powered off at this point, so they need to be powered on and fully reinitialized before ->detect() executes. This whole process is redundant with nonremovable cards; in those cases, we can safely skip calling ->detect() and implicitly assume its success. Signed-off-by: Ohad Ben-Cohen Reviewed-by: Chris Ball Signed-off-by: Chris Ball --- Reading git-diff-tree failed