diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2022-05-20 13:35:19 +0300 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-01-09 11:44:23 +0300 |
commit | e8ff07fb33026c5c1bb5b81293496faba5d68059 (patch) | |
tree | 77f8c34ad504c39a048ba5635bdf7fe995a7e190 /.cocciconfig | |
parent | 23257cfc1cb7202fd0065e9f4a6a0aac1c04c4a9 (diff) | |
download | linux-e8ff07fb33026c5c1bb5b81293496faba5d68059.tar.xz |
thunderbolt: Use correct function to calculate maximum USB3 link rate
We need to take minimum of both sides of the USB3 link into consideration,
not just the downstream port. Fix this by calling tb_usb3_max_link_rate()
instead.
Fixes: 0bd680cd900c ("thunderbolt: Add USB3 bandwidth management")
Cc: stable@vger.kernel.org
Acked-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions