Minor improvement for the suspend case for Ricoh based (and others)

CardBus bridges.
This commit is contained in:
Warner Losh 2005-09-08 17:18:42 +00:00
parent fd410513a9
commit 8fe5efa81f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149892

View File

@ -1554,6 +1554,7 @@ cbb_suspend(device_t self)
int error = 0;
struct cbb_softc *sc = device_get_softc(self);
cbb_power_disable_socket(device_get_parent(self), self);
cbb_set(sc, CBB_SOCKET_MASK, 0); /* Quiet hardware */
bus_teardown_intr(self, sc->irq_res, sc->intrhand);
sc->flags &= ~CBB_CARD_OK; /* Card is bogus now */