From 94ff1d9cc8ffc2b88caafed35168a258f969915c Mon Sep 17 00:00:00 2001 From: Andriy Gapon Date: Wed, 26 Jan 2022 09:16:31 +0200 Subject: [PATCH] sdhci: fix dumping support in MMCCAM configuration This change fixes interaction with recently added sddadump. MFC after: 1 week --- sys/dev/sdhci/sdhci.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c index 126dd23e13fc..541310ba421c 100644 --- a/sys/dev/sdhci/sdhci.c +++ b/sys/dev/sdhci/sdhci.c @@ -2725,7 +2725,7 @@ sdhci_cam_action(struct cam_sim *sim, union ccb *ccb) void sdhci_cam_poll(struct cam_sim *sim) { - return; + sdhci_generic_intr(cam_sim_softc(sim)); } static int @@ -2887,12 +2887,6 @@ sdhci_cam_request(struct sdhci_slot *slot, union ccb *ccb) slot->flags = 0; sdhci_start(slot); SDHCI_UNLOCK(slot); - if (dumping) { - while (slot->ccb != NULL) { - sdhci_generic_intr(slot); - DELAY(10); - } - } return (0); } #endif /* MMCCAM */