commit | 77966eb85e6d988a6daaf8ac14ac33026ceb3ab7 | [log] [tgz] |
---|---|---|
author | John Youn <John.Youn@synopsys.com> | Fri Feb 19 17:31:01 2016 -0800 |
committer | Felipe Balbi <balbi@kernel.org> | Fri Mar 04 15:14:38 2016 +0200 |
tree | 139debb24a0669ad9d416b9f98ae3c5cf48c2d42 | |
parent | 5266a7603faa036f6707623ba76f054349050c85 [diff] |
usb: dwc3: Validate the maximum_speed parameter Check that dwc->maximum_speed is set to a valid value. Also add an error when we use it later if we encounter an invalid value. Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <balbi@kernel.org>