diff options
author | Gerd Hoffmann | 2019-05-24 09:03:08 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2019-05-29 07:04:05 +0200 |
commit | 868a420393e1231be75d12a3d0df67f3c466a56a (patch) | |
tree | eaaa19d7ba5a59e460bd4a27598bcde79e42656a /linux-user/i386/signal.c | |
parent | usb-hub: make number of ports runtime-configurable (diff) | |
download | qemu-868a420393e1231be75d12a3d0df67f3c466a56a.tar.gz qemu-868a420393e1231be75d12a3d0df67f3c466a56a.tar.xz 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 'linux-user/i386/signal.c')
0 files changed, 0 insertions, 0 deletions