]> git.ipfire.org Git - thirdparty/qemu.git/commit
ehci: fix reset
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 24 May 2012 10:04:50 +0000 (12:04 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 21 Aug 2012 20:36:35 +0000 (15:36 -0500)
commit34b41ed15dd050097def7aebde9b39a12bd4cc43
tree8ab7812efe71454a74507fa5506fa393885bb2e5
parent3b38972743856fbfcee88fc15eb0753977103313
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>
(cherry picked from commit 7046530c36fa3a3f87692bdb54556f5d891a9c03)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/usb/hcd-ehci.c