]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: delayed_work was never cancelled
authorJorg Schummer <ext-jorg.2.schummer@nokia.com>
Thu, 19 Feb 2009 11:17:03 +0000 (13:17 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 24 Mar 2009 20:29:58 +0000 (21:29 +0100)
commit7de427d088a967d2173739e21e744921d5496a8b
tree6b4476bdcd796dc5cf66f21a9f00fc22b329becb
parent89c8aa203e71f05afdc978700cbc767d310e3d70
mmc: delayed_work was never cancelled

The delayed work item mmc_host.detect is now cancelled before flushing
the work queue. This takes care of cases when delayed_work was scheduled
for mmc_host.detect, but not yet placed in the work queue.

Signed-off-by: Jorg Schummer <ext-jorg.2.schummer@nokia.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/core.c