]> git.proxmox.com Git - qemu.git/commit
usb-host-libusb: Detach kernel drivers earlier
authorHans de Goede <hdegoede@redhat.com>
Tue, 8 Oct 2013 19:58:08 +0000 (21:58 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 22 Oct 2013 14:28:49 +0000 (16:28 +0200)
commitf34d5c750897abb3853910ce73f63d88d74dc827
tree17a587713681f2d71f106cac440975cee6f0e822
parent1294ca797c6bee39d4dbc3e92010873ce4047e0e
usb-host-libusb: Detach kernel drivers earlier

If we detach the kernel drivers on the first set_config, then they will
be still attached when the device gets its initial reset. Causing the drivers
to re-initialize the device after the reset, dirtying the device state.

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