Skip to content
Commit cf795bfb authored by Pierre Ossman's avatar Pierre Ossman
Browse files

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: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 67a61c48
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment