diff options
author | Gonglei <arei.gonglei@huawei.com> | 2014-09-19 15:25:20 +0800 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-09-23 12:51:08 +0200 |
commit | 594a53607e5bd4a2b7555a7a2908d2c406fea9aa (patch) | |
tree | 6be9713bb4f70985f5d36c8651881b21f84b478a /hw/usb/dev-serial.c | |
parent | bd2ba2752d860d5a0b4f328332c3e0b79d275de8 (diff) |
usb-bus: introduce a wrapper function to check speed
In this way, we can check speed directly, don't need
call usb_device_attach(), which has other conditions,
such as checking the chardev is open.
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/dev-serial.c')
0 files changed, 0 insertions, 0 deletions