From: Roger Tseng Date: Wed, 24 Sep 2014 09:07:13 +0000 (+0800) Subject: mmc: core: Add new power_mode MMC_POWER_UNDEFINED X-Git-Tag: fixes-against-v3.18-rc2~127^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8af465db967bf25a4617416c0cbaaaa506d444f5;p=pandora-kernel.git mmc: core: Add new power_mode MMC_POWER_UNDEFINED Add MMC_POWER_UNDEFINED for power_mode in struct mmc_ios and use it as the initial value of host->ios.power_mode. For hosts with MMC_CAP2_NO_PRESCAN_POWERUP, this makes the later mmc_power_off() do real power-off things instead of NOP, and further prevents state messed up in cards that was already initialized (eg. by BIOS of UEFI driver). Signed-off-by: Roger Tseng Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed