projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64570fb
)
mmc: sdhci: Change the code to check auto_cmd23
author
ChanWoo Lee
<cw9316.lee@samsung.com>
Wed, 25 Aug 2021 09:33:45 +0000
(18:33 +0900)
committer
Ulf Hansson
<ulf.hansson@linaro.org>
Tue, 12 Oct 2021 08:21:16 +0000
(10:21 +0200)
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: ChanWoo Lee <cw9316.lee@samsung.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link:
https://lore.kernel.org/r/20210825093345.14706-1-cw9316.lee@samsung.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/sdhci.c
b/drivers/mmc/host/sdhci.c
index 8eefa7d5fe85e405da0d978709dabcc097f18e20..7ae398f8d4d377e6e5f206dceee0e66606560d30 100644
(file)
--- 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;