summaryrefslogtreecommitdiff
path: root/hw/pci-host
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-05-24 09:03:08 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-05-29 07:04:05 +0200
commit868a420393e1231be75d12a3d0df67f3c466a56a (patch)
treeeaaa19d7ba5a59e460bd4a27598bcde79e42656a /hw/pci-host
parent9d84bb001c2c99aa1df3f32a529c1fa3e3afb39d (diff)
downloadqemu-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