diff options
author | John Youn <John.Youn@synopsys.com> | 2016-02-19 17:31:01 -0800 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2016-03-04 15:14:38 +0200 |
commit | 77966eb85e6d988a6daaf8ac14ac33026ceb3ab7 (patch) | |
tree | 139debb24a0669ad9d416b9f98ae3c5cf48c2d42 /drivers/ata/pata_via.c | |
parent | 5266a7603faa036f6707623ba76f054349050c85 (diff) | |
download | linux-77966eb85e6d988a6daaf8ac14ac33026ceb3ab7.tar.bz2 |
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>
Diffstat (limited to 'drivers/ata/pata_via.c')
0 files changed, 0 insertions, 0 deletions