diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-24 09:03:08 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-05-29 07:04:05 +0200 |
commit | 868a420393e1231be75d12a3d0df67f3c466a56a (patch) | |
tree | eaaa19d7ba5a59e460bd4a27598bcde79e42656a /hw/pci-host | |
parent | 9d84bb001c2c99aa1df3f32a529c1fa3e3afb39d (diff) | |
download | qemu-868a420393e1231be75d12a3d0df67f3c466a56a.zip |
usb-hub: add helpers to update port state
Add usb_hub_port_set() and usb_hub_port_clear() helpers which care about
updating the change bits (port->wPortChange) properly, so we don't need
to have that logic sprinkled all over the place ;)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20190524070310.4952-4-kraxel@redhat.com
Diffstat (limited to 'hw/pci-host')
0 files changed, 0 insertions, 0 deletions