• Adrian Hunter's avatar
    mmc: sdhci-pci: add runtime pm support · 66fd8ad5
    Adrian Hunter authored
    Ths patch allows runtime PM for sdhci-pci, runtime suspending after
    inactivity of 50ms and ensuring runtime resume before SDHC registers
    are accessed.  During runtime suspend, interrupts are masked.
    The host controller state is restored at runtime resume.
    
    For Medfield, the host controller's card detect mechanism is
    supplanted by an always-on GPIO which provides for card detect wake-up.
    Signed-off-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
    Signed-off-by: default avatarChris Ball <cjb@laptop.org>
    66fd8ad5
sdhci.h 11.2 KB