diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2015-10-21 09:44:22 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2015-11-03 11:55:51 +0100 |
| commit | cbf82fa01e6fd4ecb234b235b10ffce548154a95 (patch) | |
| tree | 799f103f653f4fd097a9c2fab7017a67c67665bd /include/qemu/buffer.h | |
| parent | 3d861a01093f8eedfac9889746ccafcfd32039b7 (diff) | |
| download | focaccia-qemu-cbf82fa01e6fd4ecb234b235b10ffce548154a95.tar.gz focaccia-qemu-cbf82fa01e6fd4ecb234b235b10ffce548154a95.zip | |
ehci: clear suspend bit on detach
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 unset is undefined behavior. So clearing them both looks reasonable, and it actually fixes the reported bug. https://bugzilla.redhat.com/show_bug.cgi?id=1268879 Cc: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Message-id: 1445413462-18004-1-git-send-email-kraxel@redhat.com
Diffstat (limited to 'include/qemu/buffer.h')
0 files changed, 0 insertions, 0 deletions