From fda75efd37b3e266aee4c51bdbaa1cf3df1538df Mon Sep 17 00:00:00 2001 From: Hangtian Zhu Date: Wed, 23 Sep 2020 16:10:08 +0800 Subject: [PATCH] mmc: sdhci: Use tasklet_hi_schedule to schedule finishing mrq Use tasklet_hi_schedule to schedule finishing mrq to avoid latency increasing in some system scheduling busy situations(RT threads involved). Change-Id: Ia3b7cfe2c7c175a934c79b003872392b60becb91 CRs-Fixed: 2775935 Signed-off-by: Hangtian Zhu --- drivers/mmc/host/sdhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index d5a81bbc37ec..81dd1286f2cc 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -1168,7 +1168,7 @@ static void __sdhci_finish_mrq(struct sdhci_host *host, struct mmc_request *mrq) WARN_ON(i >= SDHCI_MAX_MRQS); - tasklet_schedule(&host->finish_tasklet); + tasklet_hi_schedule(&host->finish_tasklet); } static void sdhci_finish_mrq(struct sdhci_host *host, struct mmc_request *mrq)