projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d55d1a
)
usb-uhci: update irq line on reset
author
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 20 Apr 2012 13:13:24 +0000
(15:13 +0200)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 26 Apr 2012 10:21:17 +0000
(12:21 +0200)
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>
hw/usb/hcd-uhci.c
patch
|
blob
|
history
diff --git
a/hw/usb/hcd-uhci.c
b/hw/usb/hcd-uhci.c
index 266d550b9ce3543ddf4f4759271a158c06aa594b..9e211a0bb4f8242d0f947fe9fedbf439350a89d7 100644
(file)
--- 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)