summaryrefslogtreecommitdiff
path: root/drivers/usb/mtu3/mtu3_gadget.c
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2020-07-27 15:14:54 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-29 16:53:58 +0200
commit1258450ef38af7ea5b27a0a14195bb406f59cda8 (patch)
treedafb7d68ba7887a030f559478e1bb0bbffab808c /drivers/usb/mtu3/mtu3_gadget.c
parentb7d5c3cabcec4191e22e962867904e661cb9bc84 (diff)
usb: mtu3: introduce a funtion to check maximum speed
The max_speed got from DTS may be not supported by the hardware, so need check it, and assign a proper default value. And make it clear by introducing a funtion. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Link: https://lore.kernel.org/r/1595834101-13094-5-git-send-email-chunfeng.yun@mediatek.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/mtu3/mtu3_gadget.c')
0 files changed, 0 insertions, 0 deletions