Message ID | 1281532770-27545-6-git-send-email-ohad@wizery.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c index ddbb9d3..498fdfb 100644 --- a/drivers/mmc/core/sdio.c +++ b/drivers/mmc/core/sdio.c @@ -10,6 +10,7 @@ */ #include <linux/err.h> +#include <linux/pm_runtime.h> #include <linux/mmc/host.h> #include <linux/mmc/card.h> @@ -610,6 +611,9 @@ int mmc_attach_sdio(struct mmc_host *host, u32 ocr) if (err) goto remove_added; + pm_runtime_set_active(&host->card->dev); + pm_runtime_enable(&host->card->dev); + /* * ...then the SDIO functions. */