Re: [Qemu-devel] [PATCH] ehci: clear suspend bit on detach

2015-10-21 Thread Hans de Goede
Hi, On 21-10-15 09:44, Gerd Hoffmann wrote: When a device is detached, clear the suspend bit (PORTSC_SUSPEND) in the port status register. The specs are not *that* clear what is supposed to happen in case a suspended device is unplugged. But the enable bit (PORTSC_PED) is cleared, and the spec

[Qemu-devel] [PATCH] ehci: clear suspend bit on detach

2015-10-21 Thread Gerd Hoffmann
When a device is detached, clear the suspend bit (PORTSC_SUSPEND) in the port status register. The specs are not *that* clear what is supposed to happen in case a suspended device is unplugged. But the enable bit (PORTSC_PED) is cleared, and the specs mention setting suspend with enable being uns