diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2011-03-03 17:40:10 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-07 16:55:44 -0500 |
commit | 34497913f2936fd43c86b007da7224bb8e77fd15 (patch) | |
tree | 359c992cbe0bd6b29c2708cad3c5e76dd3d7beaf /arch/arm/mach-mmp/pxa168.c | |
parent | 214d93b02c4fe93638ad268613c9702a81ed9192 (diff) |
mmc: sdio: Allow sdio operations in other threads during sdio_add_func()
This fixes a bug introduced by 807e8e40673d ("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>
Diffstat (limited to 'arch/arm/mach-mmp/pxa168.c')
0 files changed, 0 insertions, 0 deletions