android_kernel_xiaomi_sm8450/drivers/thunderbolt
Gil Fine 5a7e30d9be thunderbolt: Fix wake configurations after device unplug
commit c38fa07dc69f0b9e6f43ecab96dc7861a70c827c upstream.

Currently we don't configure correctly the wake events after unplug of device
router. What can happen is that the downstream ports of host router will be
configured to wake on: USB4-wake and wake-on-disconnect, but not on
wake-on-connect. This may cause the later plugged device not to wake the
domain and fail in enumeration. Fix this by clearing downstream port's "USB4
Port is Configured" bit, after unplug of a device router.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-05-02 16:23:38 +02:00
..
acpi.c
cap.c
ctl.c
ctl.h
debugfs.c
dma_port.c
dma_port.h
domain.c
eeprom.c
icm.c thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge 2023-10-25 11:54:20 +02:00
Kconfig
lc.c
Makefile
nhi_ops.c
nhi_regs.h
nhi.c thunderbolt: Use const qualifier for ring_interrupt_index 2023-04-05 11:23:37 +02:00
nhi.h thunderbolt: Add support for Intel Maple Ridge single port controller 2022-10-05 10:38:37 +02:00
nvm.c
path.c
property.c
quirks.c
retimer.c
sb_regs.h
switch.c thunderbolt: Fix wake configurations after device unplug 2024-05-02 16:23:38 +02:00
tb_msgs.h
tb_regs.h thunderbolt: Explicitly enable lane adapter hotplug events at startup 2022-10-26 13:25:16 +02:00
tb.c thunderbolt: Avoid notify PM core about runtime PM resume 2024-05-02 16:23:38 +02:00
tb.h thunderbolt: Avoid notify PM core about runtime PM resume 2024-05-02 16:23:38 +02:00
test.c
tmu.c
tunnel.c thunderbolt: Use correct function to calculate maximum USB3 link rate 2023-01-24 07:19:59 +01:00
tunnel.h
usb4.c thunderbolt: Avoid notify PM core about runtime PM resume 2024-05-02 16:23:38 +02:00
xdomain.c