diff options
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2021-01-19 17:36:40 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-06 14:21:21 +0100 |
commit | 450b9e9fabd80d7d5fd29e6f915b696a15acd2bd (patch) | |
tree | d159f3c1c19118ac1636f75ae995fe73745cc394 /drivers/usb/cdns3/cdns3-imx.c | |
parent | f551037c0770d07e4669d7d4fa423c235291dc59 (diff) | |
download | linux-450b9e9fabd80d7d5fd29e6f915b696a15acd2bd.tar.gz linux-450b9e9fabd80d7d5fd29e6f915b696a15acd2bd.tar.bz2 linux-450b9e9fabd80d7d5fd29e6f915b696a15acd2bd.zip |
usb: dwc3: gadget: Set speed only up to the max supported
The setting of the device speed should be limited by the device's
maximum_speed. Check and prevent the driver from attempting to configure
higher than the maximum_speed.
Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/4fae4a9ebb60464d64d8b8f6fdfc2777a2206a69.1611106162.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions