Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: dwc3-msm: Fix maximum_speed determination
Currently driver is setting the user override speed to maximum speed by checking if override speed is less than the maximum speed. But this check will fail if the maximum speed supported by the controller is super-speed and user is trying to set it to super-speed from a lower speed. Fix this by checking if override speed is equal to or less than maximum speed. Change-Id: Id71cf163548e213ec0180d7f3107395feed2f483 Signed-off-by: Pratham Pratap <[email protected]>
- Loading branch information
43f5ff9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already cherry-picked: 159d17b