From: Heiko Stübner Date: Sun, 18 Nov 2012 18:50:05 +0000 (+0100) Subject: mmc: sdhci-s3c: fix missing clock for gpio card-detect X-Git-Tag: v3.7~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe007c02f9659f5c0ae6f3ceaf45076df92cc88e;p=pandora-kernel.git mmc: sdhci-s3c: fix missing clock for gpio card-detect 2abeb5c5ded2 ("Add clk_(enable/disable) in runtime suspend/resume") added the capability to stop the clocks when the device is runtime suspended, but forgot to handle the case of the card-detect using an external gpio. Therefore in the case that runtime-pm is enabled, start the io-clock when a card is inserted and stop it again once it is removed. Signed-off-by: Heiko Stuebner Signed-off-by: Chris Ball --- Reading git-diff-tree failed