diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-24 09:03:09 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-29 07:04:05 +0200 |
commit | 638ac2d8437b7600262bc584e3634f1aaca732cf (patch) | |
tree | 394058c56aaf7e93fe3e8f7288f1524c38c945de /arch_init.c | |
parent | 868a420393e1231be75d12a3d0df67f3c466a56a (diff) | |
download | qemu-638ac2d8437b7600262bc584e3634f1aaca732cf.zip qemu-638ac2d8437b7600262bc584e3634f1aaca732cf.tar.gz qemu-638ac2d8437b7600262bc584e3634f1aaca732cf.tar.bz2 |
usb-hub: add usb_hub_port_update()
Helper function to update port status bits which depends on the
connected device. We need the same logic for device attach and
port reset, so factor it out.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190524070310.4952-5-kraxel@redhat.com
Diffstat (limited to 'arch_init.c')
0 files changed, 0 insertions, 0 deletions