|
@@ -815,6 +815,7 @@ void mmc_stop_host(struct mmc_host *host)
|
|
|
spin_unlock_irqrestore(&host->lock, flags);
|
|
|
#endif
|
|
|
|
|
|
+ cancel_delayed_work(&host->detect);
|
|
|
mmc_flush_scheduled_work();
|
|
|
|
|
|
mmc_bus_get(host);
|
|
@@ -842,6 +843,7 @@ void mmc_stop_host(struct mmc_host *host)
|
|
|
*/
|
|
|
int mmc_suspend_host(struct mmc_host *host, pm_message_t state)
|
|
|
{
|
|
|
+ cancel_delayed_work(&host->detect);
|
|
|
mmc_flush_scheduled_work();
|
|
|
|
|
|
mmc_bus_get(host);
|