mmc: sdhci: Factor out sdhci_finish_mrq()
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 29 Jun 2016 13:24:27 +0000 (16:24 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:40 +0000 (10:34 +0200)
commita6d3bdd527a9a20b41594f5f69bb32109d8501a7
tree0c1394825516cd94756db86e63d035cb4cea7d80
parent43dea098bbab82ab15ac9f26aee34c8114b2e5a2
mmc: sdhci: Factor out sdhci_finish_mrq()

In order to support commands during data transfer, there will have to be up
to two active requests (mrqs) at a time, instead of just one. That means
the driver must identify which one to finish. Prepare for that by factoring
out sdhci_finish_mrq().

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c