aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/vmalloc.py
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2022-12-27 11:55:26 +0200
committerMika Westerberg <mika.westerberg@linux.intel.com>2023-03-13 11:54:41 +0200
commitc82510b1d87bdebfe916048857d2ef46f1778aa5 (patch)
tree1afb5f743d70ce8af6d1f98cbd096076817a1d65 /scripts/gdb/linux/vmalloc.py
parentf0a57dd33b3eadf540912cd130db727ea824d174 (diff)
thunderbolt: Use scale field when allocating USB3 bandwidth
When tunneling aggregated USB3 (20 Gb/s) the bandwidth values that are programmed to the ADP_USB3_CS_2 go higher than 4096 and that does not fit anymore to the 12-bit field. Fix this by scaling the value using the scale field accordingly. Fixes: 3b1d8d577ca8 ("thunderbolt: Implement USB3 bandwidth negotiation routines") Cc: stable@vger.kernel.org Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions