Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140458
b: refs/heads/master
c: 7de427d
h: refs/heads/master
v: v3
  • Loading branch information
Jorg Schummer authored and Pierre Ossman committed Mar 24, 2009
1 parent 3f901b1 commit 4db5f53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 89c8aa203e71f05afdc978700cbc767d310e3d70
refs/heads/master: 7de427d088a967d2173739e21e744921d5496a8b
2 changes: 2 additions & 0 deletions trunk/drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 4db5f53

Please sign in to comment.