diff options
author | John Keeping <john@metanate.com> | 2023-04-12 12:52:52 +0100 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-05-09 22:50:01 +0800 |
commit | 51c54080ff8fd93d22331a3ef5abe0cee77ce285 (patch) | |
tree | 069ba406eea7160c7849de3854a53cf8974fe17c /drivers/ddr/altera | |
parent | afb4f55565551133e3dc74ddffeb5486d79fab45 (diff) |
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: John Keeping <john@metanate.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'drivers/ddr/altera')
0 files changed, 0 insertions, 0 deletions