linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] thunderbolt: Fix and MAINTAINERS update
@ 2020-01-08 12:53 Mika Westerberg
  2020-01-08 12:53 ` [PATCH 1/2] thunderbolt: Fix xhci check in usb4_switch_setup() Mika Westerberg
  2020-01-08 12:53 ` [PATCH 2/2] MAINTAINERS: Use linux-usb mailing list for Thunderbolt and USB4 patches Mika Westerberg
  0 siblings, 2 replies; 3+ messages in thread
From: Mika Westerberg @ 2020-01-08 12:53 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Andreas Noever, Michael Jamet, Mika Westerberg, Yehezkel Bernat,
	Lukas Wunner, Dan Carpenter, linux-kernel, linux-usb

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(-)

-- 
2.24.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] thunderbolt: Fix xhci check in usb4_switch_setup()
  2020-01-08 12:53 [PATCH 0/2] thunderbolt: Fix and MAINTAINERS update Mika Westerberg
@ 2020-01-08 12:53 ` Mika Westerberg
  2020-01-08 12:53 ` [PATCH 2/2] MAINTAINERS: Use linux-usb mailing list for Thunderbolt and USB4 patches Mika Westerberg
  1 sibling, 0 replies; 3+ messages in thread
From: Mika Westerberg @ 2020-01-08 12:53 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Andreas Noever, Michael Jamet, Mika Westerberg, Yehezkel Bernat,
	Lukas Wunner, Dan Carpenter, linux-kernel, linux-usb

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.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: b04079837b20 ("thunderbolt: Add initial support for USB4")
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/thunderbolt/usb4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thunderbolt/usb4.c b/drivers/thunderbolt/usb4.c
index dbe7ecce4505..b341fc60c4ba 100644
--- a/drivers/thunderbolt/usb4.c
+++ b/drivers/thunderbolt/usb4.c
@@ -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;
 	}
 
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] MAINTAINERS: Use linux-usb mailing list for Thunderbolt and USB4 patches
  2020-01-08 12:53 [PATCH 0/2] thunderbolt: Fix and MAINTAINERS update Mika Westerberg
  2020-01-08 12:53 ` [PATCH 1/2] thunderbolt: Fix xhci check in usb4_switch_setup() Mika Westerberg
@ 2020-01-08 12:53 ` Mika Westerberg
  1 sibling, 0 replies; 3+ messages in thread
From: Mika Westerberg @ 2020-01-08 12:53 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Andreas Noever, Michael Jamet, Mika Westerberg, Yehezkel Bernat,
	Lukas Wunner, Dan Carpenter, linux-kernel, linux-usb

Now 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.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MAINTAINERS b/MAINTAINERS
index 8982c6e013b3..57cdf745e92e 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16375,6 +16375,7 @@ M:	Andreas Noever <andreas.noever@gmail.com>
 M:	Michael Jamet <michael.jamet@intel.com>
 M:	Mika Westerberg <mika.westerberg@linux.intel.com>
 M:	Yehezkel Bernat <YehezkelShB@gmail.com>
+L:	linux-usb@vger.kernel.org
 T:	git git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt.git
 S:	Maintained
 F:	Documentation/admin-guide/thunderbolt.rst
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-08 12:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-08 12:53 [PATCH 0/2] thunderbolt: Fix and MAINTAINERS update Mika Westerberg
2020-01-08 12:53 ` [PATCH 1/2] thunderbolt: Fix xhci check in usb4_switch_setup() Mika Westerberg
2020-01-08 12:53 ` [PATCH 2/2] MAINTAINERS: Use linux-usb mailing list for Thunderbolt and USB4 patches Mika Westerberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).