diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2020-07-27 15:14:54 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-29 16:53:58 +0200 |
commit | 1258450ef38af7ea5b27a0a14195bb406f59cda8 (patch) | |
tree | dafb7d68ba7887a030f559478e1bb0bbffab808c /net/switchdev/switchdev.c | |
parent | b7d5c3cabcec4191e22e962867904e661cb9bc84 (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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions