]> Git Repo - qemu.git/commit - hw/usb/bus.c
usb-bus: introduce a wrapper function to check speed
authorGonglei <[email protected]>
Fri, 19 Sep 2014 07:25:20 +0000 (15:25 +0800)
committerGerd Hoffmann <[email protected]>
Tue, 23 Sep 2014 10:51:08 +0000 (12:51 +0200)
commit594a53607e5bd4a2b7555a7a2908d2c406fea9aa
tree6be9713bb4f70985f5d36c8651881b21f84b478a
parentbd2ba2752d860d5a0b4f328332c3e0b79d275de8
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 <[email protected]>
Reviewed-by: Paolo Bonzini <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
hw/usb/bus.c
include/hw/usb.h
This page took 0.023684 seconds and 4 git commands to generate.