From: Guennadi Liakhovetski Date: Thu, 11 Nov 2010 16:32:25 +0000 (+0100) Subject: mmc: fix rmmod race for hosts using card-detection polling X-Git-Tag: v2.6.37-rc4~24^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9bcbf343ec63e1104b5276195888ee06b4d086f;p=pandora-kernel.git mmc: fix rmmod race for hosts using card-detection polling 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 Cc: Signed-off-by: Chris Ball --- Reading git-diff-tree failed