From cf795bfb3ad4e2f8f6bb346aa8edb8272d4c70a2 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 11 Jul 2007 20:28:02 +0200 Subject: [PATCH] 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 --- Reading git-format-patch failed