Loading drivers/mmc/mmc.c +10 −3 Original line number Original line Diff line number Diff line Loading @@ -1738,10 +1738,17 @@ EXPORT_SYMBOL(mmc_free_host); */ */ int mmc_suspend_host(struct mmc_host *host, pm_message_t state) int mmc_suspend_host(struct mmc_host *host, pm_message_t state) { { mmc_claim_host(host); struct list_head *l, *n; mmc_deselect_cards(host); mmc_flush_scheduled_work(); list_for_each_safe(l, n, &host->cards) { struct mmc_card *card = mmc_list_to_card(l); mmc_remove_card(card); } mmc_power_off(host); mmc_power_off(host); mmc_release_host(host); return 0; return 0; } } Loading Loading
drivers/mmc/mmc.c +10 −3 Original line number Original line Diff line number Diff line Loading @@ -1738,10 +1738,17 @@ EXPORT_SYMBOL(mmc_free_host); */ */ int mmc_suspend_host(struct mmc_host *host, pm_message_t state) int mmc_suspend_host(struct mmc_host *host, pm_message_t state) { { mmc_claim_host(host); struct list_head *l, *n; mmc_deselect_cards(host); mmc_flush_scheduled_work(); list_for_each_safe(l, n, &host->cards) { struct mmc_card *card = mmc_list_to_card(l); mmc_remove_card(card); } mmc_power_off(host); mmc_power_off(host); mmc_release_host(host); return 0; return 0; } } Loading