Files
linux/drivers/mmc
Guennadi Liakhovetski 7bfb0a0a1c mmc: fix rmmod race for hosts using card-detection polling
commit d9bcbf343e upstream.

MMC hosts that poll for card detection by defining the MMC_CAP_NEEDS_POLL
flag have a race on rmmod, where the delayed work is cancelled without
waiting for completed polling. To prevent this a _sync version of the work
cancellation has to be used.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-12-09 13:33:18 -08:00
..
2007-05-01 13:04:18 +02:00