diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2012-04-20 15:13:24 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-04-26 12:21:17 +0200 |
commit | aba1f242834a4365ca3250cd4d14226d66e77ed5 (patch) | |
tree | 2c92c364fc79a462b475d612a830a64a6a5a6fa4 | |
parent | 9d55d1adc848a3dc1d2431c4ec4e7e4ea37fa0ee (diff) | |
download | qemu-aba1f242834a4365ca3250cd4d14226d66e77ed5.zip qemu-aba1f242834a4365ca3250cd4d14226d66e77ed5.tar.gz qemu-aba1f242834a4365ca3250cd4d14226d66e77ed5.tar.bz2 |
usb-uhci: update irq line on reset
uhci_reset() clears irq mask and irq status registers, but doesn't
update the irq line. Which may result in suspious IRQs after uhci
reset. Fix it.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | hw/usb/hcd-uhci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 266d550..9e211a0 100644 --- a/hw/usb/hcd-uhci.c +++ b/hw/usb/hcd-uhci.c @@ -369,6 +369,7 @@ static void uhci_reset(void *opaque) } uhci_async_cancel_all(s); + uhci_update_irq(s); } static void uhci_pre_save(void *opaque) |