From: Jisheng Zhang Date: Thu, 29 Jan 2015 09:42:12 +0000 (+0800) Subject: mmc: sdhci: switch voltage before sdhci_set_ios in runtime resume X-Git-Tag: fixes-v4.0-rc1~141^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3396e7361159753047965d1ed134ff7af248d64c;p=pandora-kernel.git mmc: sdhci: switch voltage before sdhci_set_ios in runtime resume I observed the Host Control2 register isn't correctly restored after runtime resuming on BG2Q. For example, the register reads as 0x800c before runtime suspend, but it's set as 0x8004 after runtime resuming. This could results in a non working host. The reason is the Host Control2 is incorrectly reset when switching voltage. We fix this by following the same sequence during initialization. Signed-off-by: Jisheng Zhang Signed-off-by: Ulf Hansson --- Reading git-diff-tree failed