From: Gerd Hoffmann Date: Fri, 20 Apr 2012 13:13:24 +0000 (+0200) Subject: usb-uhci: update irq line on reset X-Git-Tag: v1.1-rc0~33^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=aba1f242834a4365ca3250cd4d14226d66e77ed5;p=users%2Fdwmw2%2Fqemu.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)