Commit e9a07299 authored by Adrian Hunter's avatar Adrian Hunter Committed by Ulf Hansson
Browse files

mmc: sdhci: Move some processing to __sdhci_finish_mrq()

In preparation for removing finish_tasklet, move some processing from
sdhci_request_done() to __sdhci_finish_mrq().

Signed-off-by: default avatarAdrian Hunter <>
Reviewed-by: default avatarFaiz Abbas <>
Signed-off-by: default avatarUlf Hansson <>
parent 97a1abae
......@@ -1270,6 +1270,11 @@ static void __sdhci_finish_mrq(struct sdhci_host *host, struct mmc_request *mrq)
sdhci_del_timer(host, mrq);
if (!sdhci_has_requests(host))
static void sdhci_finish_mrq(struct sdhci_host *host, struct mmc_request *mrq)
......@@ -2617,8 +2622,6 @@ static bool sdhci_request_done(struct sdhci_host *host)
return true;
sdhci_del_timer(host, mrq);
* Always unmap the data buffers if they were mapped by
* sdhci_prepare_data() whenever we finish with a request.
......@@ -2700,9 +2703,6 @@ static bool sdhci_request_done(struct sdhci_host *host)
host->pending_reset = false;
if (!sdhci_has_requests(host))
host->mrqs_done[i] = NULL;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment