mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-20 18:15:29 +00:00
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>
This commit is contained in:
parent
67a61c4847
commit
cf795bfb3a
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue