usb-ehci: Fix handling of PED and PEDC port status bits
authorHans de Goede <hdegoede@redhat.com>
Fri, 24 Jun 2011 12:36:13 +0000 (14:36 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 5 Jul 2011 13:09:02 +0000 (15:09 +0200)
commiteed531bccccc1c97e49c3be171b564ae55172450
tree599dba252fc77205daf791a7cb11c47016fcee22
parent9b8ec26458b66b3c3dd95210b68073119c32da2c
usb-ehci: Fix handling of PED and PEDC port status bits

The PED bit should only be set for highspeed devices and the PEDC bit
should not be set on "normal" PED bit changes, only on io errors.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb-ehci.c