sdio: allow for mmc_claim_host to be aborted
commit2342f3323c9a76367a1d7f9a35525ee3cb3911df
authorNicolas Pitre <nico@cam.org>
Sat, 30 Jun 2007 14:21:52 +0000 (30 16:21 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 23 Sep 2007 18:55:13 +0000 (23 20:55 +0200)
tree1fdb42702137dfbe0be0c2e1c6777a0c0ddb1bcf
parent55fe77a0a24e05c9aaf1a13550dde5efad8b49f2
sdio: allow for mmc_claim_host to be aborted

It is sometimes necessary to give up on trying to claim the host lock,
especially if that happens in a thread that has to be stopped.

While at it, fix the description for mmc_claim_host() which was wrong.

Signed-off-by: Nicolas Pitre <npitre@mvista.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/core/core.c
include/linux/mmc/core.h