Skip to content
Commit 77966eb8 authored by John Youn's avatar John Youn Committed by Felipe Balbi
Browse files

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: default avatarJohn Youn <johnyoun@synopsys.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 5266a760
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment