diff options
| author | Linus Walleij <[email protected]> | 2023-06-16 22:42:21 +0200 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2023-06-19 13:14:26 +0200 |
| commit | 8a6a9e79720a51f40835a8a7dc94cf02a58f0600 (patch) | |
| tree | 439fc0b36131f28cefd764ac4ee72eb4cb39ef8f | |
| parent | 479d8e61f6244286e629e157ea831e8c4f783826 (diff) | |
mmc: mmci: Stash status while waiting for busy
Some interesting flags can arrive while we are waiting for
the first busy detect IRQ so OR then onto the stashed
flags so they are not missed.
Signed-off-by: Linus Walleij <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
| -rw-r--r-- | drivers/mmc/host/mmci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index a3713e9a0ef4..93981046eb88 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c @@ -713,6 +713,7 @@ static bool ux500_busy_complete(struct mmci_host *host, u32 status, u32 err_msk) */ if (host->busy_status && (status & host->variant->busy_detect_flag)) { + host->busy_status |= status & (MCI_CMDSENT | MCI_CMDRESPEND); writel(host->variant->busy_detect_mask, base + MMCICLEAR); return false; } |