diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-12-05 16:10:24 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2013-01-18 15:29:10 +0100 |
commit | 4bbd16909b066bab08e78b64f837824d6a88ab19 (patch) | |
tree | ae30387cfc04dde069545aeb3f2619f3477f7eca | |
parent | 674ee5c3b1baef80506bebf3e6a2a08e680fa349 (diff) |
ehci: Don't call commit_irq after raising PCD
ehci_raise_irq(s, USBSTS_PCD), gets applied immediately so there is no need
to call commit_irq after it.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
-rw-r--r-- | hw/usb/hcd-ehci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 8da4b6a6d..1713394c6 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -757,7 +757,6 @@ static void ehci_attach(USBPort *port) *portsc |= PORTSC_CSC; ehci_raise_irq(s, USBSTS_PCD); - ehci_commit_irq(s); } static void ehci_detach(USBPort *port) @@ -787,7 +786,6 @@ static void ehci_detach(USBPort *port) *portsc |= PORTSC_CSC; ehci_raise_irq(s, USBSTS_PCD); - ehci_commit_irq(s); } static void ehci_child_detach(USBPort *port, USBDevice *child) |