projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'usb-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux-2.6-microblaze.git]
/
drivers
/
thunderbolt
/
switch.c
diff --git
a/drivers/thunderbolt/switch.c
b/drivers/thunderbolt/switch.c
index
5a617ea
..
6ffc4e8
100644
(file)
--- a/
drivers/thunderbolt/switch.c
+++ b/
drivers/thunderbolt/switch.c
@@
-1256,6
+1256,9
@@
int tb_port_update_credits(struct tb_port *port)
ret = tb_port_do_update_credits(port);
if (ret)
return ret;
+
+ if (!port->dual_link_port)
+ return 0;
return tb_port_do_update_credits(port->dual_link_port);
}