Hi Here is V2 of the patch to keep an SDIO card runtime resumed while adding function devices. Changes in V2: mmc: sdio: Tidy error path in mmc_attach_sdio() New patch mmc: sdio: Keep card runtime resumed while adding function devices Move call to pm_runtime_get_noresume() before pm_runtime_set_active(). Do not use pm_runtime_put() incorrectly (or at all) in the error path. Adrian Hunter (2): mmc: sdio: Tidy error path in mmc_attach_sdio() mmc: sdio: Keep card runtime resumed while adding function devices drivers/mmc/core/sdio.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) Regards Adrian -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html