Commit 38929d4f authored by ChanWoo Lee's avatar ChanWoo Lee Committed by Ulf Hansson

mmc: sdhci: Change the code to check auto_cmd23

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@intel.com
Signed-off-by: default avatarChanWoo Lee <cw9316.lee@samsung.com>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20210825093345.14706-1-cw9316.lee@samsung.comSigned-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 64570fbc
...@@ -3232,7 +3232,7 @@ static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask, u32 *intmask_p) ...@@ -3232,7 +3232,7 @@ static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask, u32 *intmask_p)
-ETIMEDOUT : -ETIMEDOUT :
-EILSEQ; -EILSEQ;
if (mrq->sbc && (host->flags & SDHCI_AUTO_CMD23)) { if (sdhci_auto_cmd23(host, mrq)) {
mrq->sbc->error = err; mrq->sbc->error = err;
__sdhci_finish_mrq(host, mrq); __sdhci_finish_mrq(host, mrq);
return; return;
......
Markdown is supported
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