]> git.ipfire.org Git - thirdparty/openwrt.git/blob
0d4d6cba1922c95ace3637b7a531fc47a6c307b2
[thirdparty/openwrt.git] /
1 From 1abc413af44652d6a76d5b5c2afe90788595008e Mon Sep 17 00:00:00 2001
2 From: Jonathan Bell <jonathan@raspberrypi.com>
3 Date: Mon, 15 Jul 2024 13:57:01 +0100
4 Subject: [PATCH 1169/1215] mmc: brcmstb: don't squash card-busy detection on
5 bcm2712
6
7 Commit 485d9421719b ("mmc: sdhci-brcmstb: check R1_STATUS for
8 erase/trim/discard") introduced a new flag and defaulted to disabling
9 card busy detection across all platforms with this controller.
10
11 This is required for IO voltage switching, as the card drives CMD low
12 while the switch is in progress.
13
14 Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
15 ---
16 drivers/mmc/host/sdhci-brcmstb.c | 1 +
17 1 file changed, 1 insertion(+)
18
19 --- a/drivers/mmc/host/sdhci-brcmstb.c
20 +++ b/drivers/mmc/host/sdhci-brcmstb.c
21 @@ -430,6 +430,7 @@ static const struct brcmstb_match_priv m
22 };
23
24 static const struct brcmstb_match_priv match_priv_2712 = {
25 + .flags = BRCMSTB_MATCH_FLAGS_USE_CARD_BUSY,
26 .hs400es = sdhci_brcmstb_hs400es,
27 .cfginit = sdhci_brcmstb_cfginit_2712,
28 .ops = &sdhci_brcmstb_ops_2712,