Home
last modified time | relevance | path

Searched hist:cf795bfb3ad4e2f8f6bb346aa8edb8272d4c70a2 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mmc/core/
H A Dcore.cdiff cf795bfb3ad4e2f8f6bb346aa8edb8272d4c70a2 Wed Jul 11 20:28:02 CEST 2007 Pierre Ossman <drzeus@drzeus.cx> mmc: add a might_sleep() to mmc_claim_host()

In the normal case, the host lock can be claimed directly.
When it cannot, the caller will sleep. Make sure we don't
have any latent bugs by always calling might_sleep().

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>