From: Gerd Hoffmann Date: Fri, 20 Apr 2012 13:13:24 +0000 (+0200) Subject: usb-uhci: update irq line on reset X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=aba1f242834a4365ca3250cd4d14226d66e77ed5;p=qemu.git 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 --- diff --git a/hw/usb/hcd-uhci.c b/hw/usb/hcd-uhci.c index 266d550b9c..9e211a0bb4 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)