sdhci: fix dumping support in MMCCAM configuration
This change fixes interaction with recently added sddadump. MFC after: 1 week
This commit is contained in:
parent
e35816c1c9
commit
94ff1d9cc8
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user