]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mmc: Don't hold lock when releasing an added card
authorPierre Ossman <drzeus@drzeus.cx>
Sun, 22 Jul 2007 15:52:06 +0000 (17:52 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 25 Jul 2007 23:54:06 +0000 (01:54 +0200)
commit2986d0bf23d97d68804ccfa80965073ccf1af242
tree64b3bdcb2642978127582a1fc2ca09e240b1ece5
parentcf795bfb3ad4e2f8f6bb346aa8edb8272d4c70a2
mmc: Don't hold lock when releasing an added card

When the card has been added to the device model, it might be bound
to a card driver. Therefore, we have to release the host lock when
trying to remove it as we otherwise might deadlock with the driver.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c