diff options
author | Linyu Yuan <[email protected]> | 2023-08-03 17:10:48 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-08-22 14:48:33 +0200 |
commit | 8165763f82bd87d742b91ffef2874e7c8d1f6d2b (patch) | |
tree | 3f74dd8d84e869ae8809c21dd8ad40376260aacf /scripts/clang-tools/gen_compile_commands.py | |
parent | 98102ae1549e3af33359ec3a8e57adafa57b1b01 (diff) |
usb: gadget: add a inline function gether_bitrate()
In function ecm_bitrate(), it is not support report bit rate for super
speed plus mode, but it can use same bit rate value defined in ncm and
rndis.
Add a common inline function gether_bitrate() which report different for
all possible speeds, it can be used by ecm, ncm and rndis, also remove
old function from them.
Signed-off-by: Linyu Yuan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions