[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210825093345.14706-1-cw9316.lee@samsung.com>
Date: Wed, 25 Aug 2021 18:33:45 +0900
From: Chanwoo Lee <cw9316.lee@...sung.com>
To: ulf.hansson@...aro.org, adrian.hunter@...el.com,
linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: grant.jung@...sung.com, jt77.jang@...sung.com,
dh0421.hwang@...sung.com, sh043.lee@...sung.com,
ChanWoo Lee <cw9316.lee@...sung.com>
Subject: [PATCH] mmc: sdhci: Change the code to check auto_cmd23
From: ChanWoo Lee <cw9316.lee@...sung.com>
It is replaced with a function that is already declared.
//[1/5] mmc: sdhci: Add helpers for the auto-CMD23 flag
//20200412090349.1607-2-adrian.hunter@...el.com
Signed-off-by: ChanWoo Lee <cw9316.lee@...sung.com>
---
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 36f15f81a6af..5782650ddf7d 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -3232,7 +3232,7 @@ static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask, u32 *intmask_p)
-ETIMEDOUT :
-EILSEQ;
- if (mrq->sbc && (host->flags & SDHCI_AUTO_CMD23)) {
+ if (sdhci_auto_cmd23(host, mrq)) {
mrq->sbc->error = err;
__sdhci_finish_mrq(host, mrq);
return;
--
2.29.0
Powered by blists - more mailing lists