]> git.proxmox.com Git - qemu.git/commit - hw/usb/hcd-ehci.c
ehci: fix reset
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 24 May 2012 10:04:50 +0000 (12:04 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 7 Jun 2012 08:02:22 +0000 (10:02 +0200)
commit7046530c36fa3a3f87692bdb54556f5d891a9c03
treea09a3ebcf65082a5bf1f84b2ff0b1a729818c193
parent0f588df8b3688b00e77aabaa32e26ece5f19bd39
ehci: fix reset

Check for the reset bit first when processing USBCMD register writes.
Also break out of the switch, there is no need to check the other bits.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/hcd-ehci.c