linux/drivers/mmc/core
Dmitry Shmidt 34497913f2 mmc: sdio: Allow sdio operations in other threads during sdio_add_func()
This fixes a bug introduced by 807e8e4067 ("mmc: Fix sd/sdio/mmc
initialization frequency retries") that prevented SDIO drivers from
performing SDIO commands in their probe routines -- the above patch
called mmc_claim_host() before sdio_add_func(), which causes a deadlock
if an external SDIO driver calls sdio_claim_host().

Fix tested on an OLPC XO-1.75 with libertas on SDIO.

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Reviewed-and-Tested-by: Chris Ball <cjb@laptop.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2011-03-07 16:55:44 -05:00
..
bus.c mmc: Register debugfs dir before calling card probe function. 2011-01-08 23:52:26 -05:00
bus.h
core.c mmc: fix division by zero in MMC core 2011-01-08 23:52:33 -05:00
core.h mmc: Fix sd/sdio/mmc initialization frequency retries 2011-01-08 23:52:25 -05:00
debugfs.c mmc: Aggressive clock gating framework 2011-01-08 22:48:03 -05:00
host.c mmc: check for > 1 clk_requests when disabling gating 2011-01-08 23:52:22 -05:00
host.h mmc: Aggressive clock gating framework 2011-01-08 22:48:03 -05:00
Kconfig mmc: Aggressive clock gating framework 2011-01-08 22:48:03 -05:00
Makefile
mmc_ops.c mmc: Test bus-width for old MMC devices 2011-01-08 23:52:09 -05:00
mmc_ops.h mmc: Test bus-width for old MMC devices 2011-01-08 23:52:09 -05:00
mmc.c mmc: Fix sd/sdio/mmc initialization frequency retries 2011-01-08 23:52:25 -05:00
sd_ops.c
sd_ops.h
sd.c mmc: Fix sd/sdio/mmc initialization frequency retries 2011-01-08 23:52:25 -05:00
sd.h
sdio_bus.c mmc: sdio: don't power up cards on system suspend 2011-01-08 22:48:13 -05:00
sdio_bus.h
sdio_cis.c
sdio_cis.h
sdio_io.c
sdio_irq.c
sdio_ops.c
sdio_ops.h
sdio.c mmc: sdio: Allow sdio operations in other threads during sdio_add_func() 2011-03-07 16:55:44 -05:00