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
|
void
|
||||||
sdhci_cam_poll(struct cam_sim *sim)
|
sdhci_cam_poll(struct cam_sim *sim)
|
||||||
{
|
{
|
||||||
return;
|
sdhci_generic_intr(cam_sim_softc(sim));
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
@ -2887,12 +2887,6 @@ sdhci_cam_request(struct sdhci_slot *slot, union ccb *ccb)
|
|||||||
slot->flags = 0;
|
slot->flags = 0;
|
||||||
sdhci_start(slot);
|
sdhci_start(slot);
|
||||||
SDHCI_UNLOCK(slot);
|
SDHCI_UNLOCK(slot);
|
||||||
if (dumping) {
|
|
||||||
while (slot->ccb != NULL) {
|
|
||||||
sdhci_generic_intr(slot);
|
|
||||||
DELAY(10);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
#endif /* MMCCAM */
|
#endif /* MMCCAM */
|
||||||
|
Loading…
Reference in New Issue
Block a user