thunderbolt: Fix and MAINTAINERS update
Subsystems (2)
cover thunderbolt: Fix and MAINTAINERS update
Hi,
The first patch fixes an issue reported by Dan Carpenter and the second updates MAINTAINERS to use linux-usb as mailing list for Thunderbolt and USB4 related patches.
Greg, can you pick these to your usb-next branch if there are no objections?
Mika Westerberg (2):
thunderbolt: Fix xhci check in usb4_switch_setup()
MAINTAINERS: Use linux-usb mailing list for Thunderbolt and USB4 patches
MAINTAINERS | 1 + drivers/thunderbolt/usb4.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.24.1
PATCH 1/2 thunderbolt: Fix xhci check in usb4_switch_setup()
The code tried to check whether xhci variable has ROUTER_CS_6_HCI bit set but since xhci type is bool and it already holds true or false based on that very bit, fix the check to use the variable directly.
--- drivers/thunderbolt/usb4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thunderbolt/usb4.c +1 -1
@@ -239,7 +239,7 @@ int usb4_switch_setup(struct tb_switch *sw)* and the parent does not have any USB3 dowstream * adapters (so we cannot do USB 3.x tunneling). */ -if (xhci &ROUTER_CS_6_HCI ) +if (xhci) val |=ROUTER_CS_5_HCO ; }
Signature · 1 line
2.24.1
PATCH 2/2 MAINTAINERS: Use linux-usb mailing list for Thunderbolt and USB4 patches
In reply to Mika WesterbergNow that Thunderbolt public specification is called USB4 and is coming from USB IF it makes sense to use linux-usb as mailing list for patches touching this driver.
--- MAINTAINERS | 1 + 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
@@ -16375,6 +16375,7 @@ M: Andreas Noever <[email protected]> M: Michael Jamet <[email protected]> M: Mika Westerberg <[email protected]> M: Yehezkel Bernat <[email protected]> +L: [email protected] T: git git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git S: Maintained F: Documentation/admin-guide/thunderbolt.rst
Signature · 1 line
2.24.1