diff options
author | Chunfeng Yun <chunfeng.yun@mediatek.com> | 2020-07-27 10:14:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-29 17:53:58 +0300 |
commit | 1258450ef38af7ea5b27a0a14195bb406f59cda8 (patch) | |
tree | dafb7d68ba7887a030f559478e1bb0bbffab808c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | b7d5c3cabcec4191e22e962867904e661cb9bc84 (diff) | |
download | linux-1258450ef38af7ea5b27a0a14195bb406f59cda8.tar.xz |
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 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions