Searched hist:dc007f395f7c63d8d5ee99b7ca6ef8644abff64d (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/emul/ |
| H A D | sandbox_hub.c | dc007f395f7c63d8d5ee99b7ca6ef8644abff64d Sun Oct 01 13:19:41 UTC 2017 Bin Meng <bmeng.cn@gmail.com> UPSTREAM: usb: emul: hub: Report the actual device speed of the emulation device
At present the usb hub emulator always reports its downstream port speed as full speed. Actually it is high speed for sandbox-flash, and low speed for sandbox-keyb. We can determine the device speed by checking its device descriptor bcdUSB field, and do the proper hub port status report based on that.
Change-Id: I1b0848d856fb0e3351bfb5c678cc387d5bb5ca9f Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit d7771f0c5cd429286c7555360d779d21568e3ba0)
|