commit | 450b9e9fabd80d7d5fd29e6f915b696a15acd2bd | [log] [tgz] |
---|---|---|
author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | Tue Jan 19 17:36:40 2021 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Feb 06 14:21:21 2021 +0100 |
tree | d159f3c1c19118ac1636f75ae995fe73745cc394 | |
parent | f551037c0770d07e4669d7d4fa423c235291dc59 [diff] |
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>