summaryrefslogtreecommitdiffstats
path: root/sys/dev/sdhci/sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sdhci/sdhci.c')
-rw-r--r--sys/dev/sdhci/sdhci.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c
index c41866f..9b406fb 100644
--- a/sys/dev/sdhci/sdhci.c
+++ b/sys/dev/sdhci/sdhci.c
@@ -1187,6 +1187,12 @@ sdhci_request(device_t brdev, device_t reqdev, struct mmc_request *req)
slot->flags = 0;
sdhci_start(slot);
SDHCI_UNLOCK(slot);
+ if (dumping) {
+ while (slot->req != NULL) {
+ sdhci_intr(slot->sc);
+ DELAY(10);
+ }
+ }
return (0);
}
OpenPOWER on IntegriCloud