This is a note to let you know that I've just added the patch titled mmc: sdhci: Change the code to check auto_cmd23 to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: mmc-sdhci-change-the-code-to-check-auto_cmd23.patch and it can be found in the queue-5.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit 639b191590ec3b36f8e1c336f1c181b55743bbff Author: ChanWoo Lee <cw9316.lee@xxxxxxxxxxx> Date: Wed Aug 25 18:33:45 2021 +0900 mmc: sdhci: Change the code to check auto_cmd23 [ Upstream commit 38929d4f0d811df399c99398ce0599f546369bd4 ] 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@xxxxxxxxx Signed-off-by: ChanWoo Lee <cw9316.lee@xxxxxxxxxxx> Acked-by: Adrian Hunter <adrian.hunter@xxxxxxxxx> Link: https://lore.kernel.org/r/20210825093345.14706-1-cw9316.lee@xxxxxxxxxxx Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx> Stable-dep-of: b3855668d98c ("mmc: sdhci: Add support for "Tuning Error" interrupts") Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index d897c981b079f..ca8b147687986 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -3295,7 +3295,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;