Guennadi Liakhovetski 26fc8775b5 mmc: fix a race between card-detect rescan and clock-gate work instances
Currently there is a race in the MMC core between a card-detect
rescan work and the clock-gating work, scheduled from a command
completion. Fix it by removing the dedicated clock-gating mutex
and using the MMC standard locking mechanism instead.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Simon Horman <horms@verge.net.au>
Cc: Magnus Damm <damm@opensource.se>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Cc: <stable@kernel.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2011-04-27 19:16:12 -04:00
..
2011-03-15 13:48:33 -04:00
2011-01-08 22:48:03 -05:00
2011-01-08 22:48:03 -05:00
2011-03-15 13:48:33 -04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-08-11 08:59:02 -07:00
2007-09-23 19:45:31 +02:00
2011-03-31 11:26:23 -03:00