summaryrefslogtreecommitdiff
path: root/drivers/spi/mtk_spim.c
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2023-04-12 12:52:52 +0100
committerKever Yang <kever.yang@rock-chips.com>2023-05-09 22:50:01 +0800
commit51c54080ff8fd93d22331a3ef5abe0cee77ce285 (patch)
tree069ba406eea7160c7849de3854a53cf8974fe17c /drivers/spi/mtk_spim.c
parentafb4f55565551133e3dc74ddffeb5486d79fab45 (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/spi/mtk_spim.c')
0 files changed, 0 insertions, 0 deletions