]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
thunderbolt: Fix setting the CNS bit in ROUTER_CS_5
authorMohammad Rahimi <rahimi.mhmmd@gmail.com>
Sat, 27 Jan 2024 03:26:28 +0000 (11:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:25:13 +0000 (09:25 +0100)
commite5643b23cbb064dd3ef1388e933e0964130e048e
tree44f01ad37f049e3cc06b93f2b3a54eb0457efc63
parent65ac3a4fee03ade83c62644f600a3fc70754b263
thunderbolt: Fix setting the CNS bit in ROUTER_CS_5

commit ec4d82f855ce332de26fe080892483de98cc1a19 upstream.

The bit 23, CM TBT3 Not Supported (CNS), in ROUTER_CS_5 indicates
whether a USB4 Connection Manager is TBT3-Compatible and should be:
    0b for TBT3-Compatible
    1b for Not TBT3-Compatible

Fixes: b04079837b20 ("thunderbolt: Add initial support for USB4")
Cc: stable@vger.kernel.org
Signed-off-by: Mohammad Rahimi <rahimi.mhmmd@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/thunderbolt/tb_regs.h
drivers/thunderbolt/usb4.c