linux/drivers/mmc/core
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
..
Kconfig mmc: Aggressive clock gating framework 2011-01-08 22:48:03 -05:00
Makefile mmc: add per device quirk placeholder 2011-03-15 13:48:33 -04:00
bus.c mmc: core: mmc_add_card(): fix missing break in switch statement 2011-04-27 19:15:07 -04:00
bus.h mmc: rename dev_to_mmc_card() to mmc_dev_to_card() 2010-10-23 21:11:12 +08:00
core.c mmc: core: reset card voltage after power off 2011-03-17 15:35:13 -04:00
core.h mmc: add per device quirk placeholder 2011-03-15 13:48:33 -04:00
debugfs.c mmc: Aggressive clock gating framework 2011-01-08 22:48:03 -05:00
host.c mmc: fix a race between card-detect rescan and clock-gate work instances 2011-04-27 19:16:12 -04:00
host.h mmc: Aggressive clock gating framework 2011-01-08 22:48:03 -05:00
mmc.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mmc_ops.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mmc_ops.h mmc: Test bus-width for old MMC devices 2011-01-08 23:52:09 -05:00
quirks.c mmc: remove BROKEN_CLK_GATING quirk for wl1271 2011-03-15 13:48:37 -04:00
sd.c mmc: Ensure prototypes for SD API are visible in sd.c 2011-03-15 13:48:58 -04:00
sd.h mmc: split mmc_sd_init_card() 2010-08-11 08:59:02 -07:00
sd_ops.c mmc: fix mmc_app_send_scr() for dma transfer 2011-03-25 10:30:50 -04:00
sd_ops.h mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
sdio.c mmc: sdio: remember new card RCA when redetecting card 2011-03-17 15:35:09 -04:00
sdio_bus.c mmc: sdio: don't power up cards on system suspend 2011-01-08 22:48:13 -05:00
sdio_bus.h mmc: basic SDIO device model 2007-09-23 19:45:31 +02:00
sdio_cis.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
sdio_cis.h sdio: split up common and function CIS parsing 2007-09-23 20:44:22 +02:00
sdio_io.c sdio: add new function for RAW (Read after Write) operation 2010-05-27 09:12:40 -07:00
sdio_irq.c Fix common misspellings 2011-03-31 11:26:23 -03:00
sdio_ops.c sdio: recognize io card without powercycle 2010-03-12 15:52:28 -08:00
sdio_ops.h sdio: recognize io card without powercycle 2010-03-12 15:52:28 -08:00