mmc: core: Introduce host claiming by context
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 22 Sep 2017 12:36:51 +0000 (15:36 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:45:49 +0000 (11:45 +0100)
commit6c0cedd1ef9527ef13e66875746570e76a3188a7
tree62142b1581211372e8adae97b574979cac6c15a2
parent9ca28c5cd967e07e708a407eec59894e2e643670
mmc: core: Introduce host claiming by context

Currently the host can be claimed by a task.  Change this so that the host
can be claimed by a context that may or may not be a task.  This provides
for the host to be claimed by a block driver queue to support blk-mq, while
maintaining compatibility with the existing use of mmc_claim_host().

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c
drivers/mmc/core/core.c
drivers/mmc/core/core.h
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c
drivers/mmc/core/sdio_irq.c
include/linux/mmc/host.h