Don't assume the run bit is still set after a suspend.
Submitted by: Andrea Bittau ( adotbittauatcsdotucldotacdotuk) MFC After: 1 week
This commit is contained in:
parent
116255f144
commit
dd34a303ed
@ -723,6 +723,7 @@ uhci_power(int why, void *v)
|
||||
sc->sc_intr_xfer);
|
||||
sc->sc_bus.use_polling++;
|
||||
uhci_run(sc, 0); /* stop the controller */
|
||||
cmd &= ~UHCI_CMD_RS;
|
||||
|
||||
/* save some state if BIOS doesn't */
|
||||
sc->sc_saved_frnum = UREAD2(sc, UHCI_FRNUM);
|
||||
|
Loading…
Reference in New Issue
Block a user