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)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 29 Jan 2024 07:48:40 +0000 (09:48 +0200)
commitec4d82f855ce332de26fe080892483de98cc1a19
tree486db0ac56020bf53fb1fe9ab29c579ada68cde3
parent41bccc98fb7931d63d03f326a746ac4d429c1dd3
thunderbolt: Fix setting the CNS bit in ROUTER_CS_5

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>
drivers/thunderbolt/tb_regs.h
drivers/thunderbolt/usb4.c