usb-host: add option to allow all resets.
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Oct 2019 06:44:26 +0000 (08:44 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 6 Nov 2019 12:26:04 +0000 (13:26 +0100)
commit1dfe2b91dcb1633d0ba450a8139d53006e700a9b
tree2a5724a8901ba3f62fae93af13bc1033122fcc73
parent412fbef3d076c43e56451bacb28c4544858c66a3
usb-host: add option to allow all resets.

Commit 65f14ab98da1 ("usb-host: skip reset for untouched devices")
filters out multiple usb device resets in a row.  While this improves
the situation for usb some devices it doesn't work for others :-(

So go add a config option to make the behavior configurable.

Buglink: https://bugs.launchpad.net/bugs/1846451
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20191015064426.19454-1-kraxel@redhat.com
hw/usb/host-libusb.c