diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-25 21:01:19 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-04-25 21:01:19 +0000 |
commit | 467d409f7e7b30da22497fdcd6fe45f1369eed74 (patch) | |
tree | dc6c8fd37cb654e904b8bc0e2f7446d269310312 /hw/usb-uhci.c | |
parent | fd06c37550b43980e8d641bb109c219cbe001d13 (diff) |
fix for HCHALTED status bit
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1852 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/usb-uhci.c')
-rw-r--r-- | hw/usb-uhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index 10b3fa6fd7..23964f36a5 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c @@ -175,7 +175,7 @@ static void uhci_ioport_writew(void *opaque, uint32_t addr, uint32_t val) /* start frame processing */ qemu_mod_timer(s->frame_timer, qemu_get_clock(vm_clock)); s->status &= ~UHCI_STS_HCHALTED; - } else if (!(val & UHCI_CMD_RS) && !(s->cmd & UHCI_CMD_RS)) { + } else if (!(val & UHCI_CMD_RS)) { s->status |= UHCI_STS_HCHALTED; } if (val & UHCI_CMD_GRESET) { |