android_kernel_samsung_sm8650/drivers/thunderbolt
Mika Westerberg d799f73d5d thunderbolt: dma_test: Use correct value for absent rings when creating paths
commit 70c2e03e9aaf17496c63f6e42333c012f5ae5307 upstream.

Both tb_xdomain_enable_paths() and tb_xdomain_disable_paths() expect -1,
not 0, if the corresponding ring is not needed. For this reason change
the driver to use correct value for the rings that are not needed.

Fixes: 180b068942 ("thunderbolt: Allow multiple DMA tunnels over a single XDomain connection")
Cc: stable@vger.kernel.org
Reported-by: Pengfei Xu <pengfei.xu@intel.com>
Tested-by: Pengfei Xu <pengfei.xu@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-06-21 16:00:56 +02:00
..
acpi.c
cap.c
ctl.c
ctl.h
debugfs.c thunderbolt: Fix memory leak in margining 2023-03-30 12:49:14 +02:00
dma_port.c
dma_port.h
dma_test.c thunderbolt: dma_test: Use correct value for absent rings when creating paths 2023-06-21 16:00:56 +02:00
domain.c
eeprom.c
icm.c
Kconfig
lc.c
Makefile
nhi_ops.c
nhi_regs.h thunderbolt: Clear registers properly when auto clear isn't in use 2023-05-24 17:32:51 +01:00
nhi.c thunderbolt: Clear registers properly when auto clear isn't in use 2023-05-24 17:32:51 +01:00
nhi.h
nvm.c
path.c
property.c
quirks.c thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers 2023-04-06 12:10:33 +02:00
retimer.c thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:49:15 +02:00
sb_regs.h thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access 2023-03-30 12:49:15 +02:00
switch.c thunderbolt: Call tb_check_quirks() after initializing adapters 2023-03-30 12:49:14 +02:00
tb_msgs.h
tb_regs.h
tb.c thunderbolt: Do not touch CL state configuration during discovery 2023-06-21 16:00:56 +02:00
tb.h thunderbolt: Use correct type in tb_port_is_clx_enabled() prototype 2023-05-11 23:03:41 +09:00
test.c
tmu.c
tunnel.c
tunnel.h
usb4_port.c
usb4.c thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers 2023-04-06 12:10:33 +02:00
xdomain.c