diff options
author | 2024-10-06 08:11:47 +0300 | |
---|---|---|
committer | 2024-10-14 12:40:09 +0200 | |
commit | a7861651943dac0006f55e0b6db28ed8e9dbe411 (patch) | |
tree | fc5a52cbf3584993aa226a0842d72d6724541a82 | |
parent | mmc: core: Disable SDUC for mmc_test (diff) | |
download | wireguard-linux-a7861651943dac0006f55e0b6db28ed8e9dbe411.tar.xz wireguard-linux-a7861651943dac0006f55e0b6db28ed8e9dbe411.zip |
mmc: core: Prevent HSQ from enabling for SDUC
hsq allows to get more in-flight requests from mmc core, which can be
prepared in advance and be issued asynchronously to the completion of
the preceding request (in atomic context). This is presumably broken
though by the mandatory CMD22 for SDUC.
We plan to make it work, but only as an improvement on top of the
initial support for SDUC.
Signed-off-by: Avri Altman <avri.altman@wdc.com>
Link: https://lore.kernel.org/r/20241006051148.160278-10-avri.altman@wdc.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/core/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c index 63915541c0e4..33e806adcbf7 100644 --- a/drivers/mmc/core/sd.c +++ b/drivers/mmc/core/sd.c @@ -1558,7 +1558,7 @@ cont: goto free_card; } - if (host->cqe_ops && !host->cqe_enabled) { + if (!mmc_card_ult_capacity(card) && host->cqe_ops && !host->cqe_enabled) { err = host->cqe_ops->cqe_enable(host, card); if (!err) { host->cqe_enabled = true; |