diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c index 4da2bcfd0649..7d7114d0fa25 100644 --- a/drivers/mmc/core/host.c +++ b/drivers/mmc/core/host.c @@ -477,6 +477,7 @@ EXPORT_SYMBOL(mmc_remove_host); */ void mmc_free_host(struct mmc_host *host) { + cancel_delayed_work_sync(&host->detect); mmc_pwrseq_free(host); put_device(&host->class_dev); }