Skip to content
Commit 51c54080 authored by John Keeping's avatar John Keeping Committed by Kever Yang
Browse files

rockchip: use standard dr_mode parsing function



Instead of duplicating the string values here, use usb_get_dr_mode() to
handle the property lookup and converting the values to an enum.

This is implemented with a switch in preparation for the next patch
which adds extra handling for peripheral mode.

Signed-off-by: default avatarJohn Keeping <john@metanate.com>
Reviewed-by: default avatarKever Yang <kever.yang@rock-chips.com>
parent afb4f555
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment