Skip to content
Commit fe007c02 authored by Heiko Stübner's avatar Heiko Stübner Committed by Chris Ball
Browse files

mmc: sdhci-s3c: fix missing clock for gpio card-detect

2abeb5c5

 ("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: default avatarHeiko Stuebner <heiko@sntech.de>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 0aa55c23
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment