linux/drivers/thunderbolt
Mika Westerberg 039701ea3d thunderbolt: stream: Restore consumer if copying from iter fails
In tbstream_dev_alloc_tx() if copying data from iterator fails we leave
the consumer pointer as is wasting one entry in the ring. Fix this by
restoring the consumer back in case of failure.

Fixes: 6db21d817b ("thunderbolt: Add support for USB4STREAM")
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2026-08-05 05:53:57 +02:00
..
acpi.c thunderbolt: Move pci_device out of tb_nhi 2026-05-21 14:29:05 +02:00
cap.c thunderbolt: Update cap.c function documentation 2025-09-17 07:32:58 +02:00
clx.c thunderbolt: Update clx.c function documentation 2025-09-17 07:32:58 +02:00
configfs.c thunderbolt: Add support for ConfigFS 2026-05-19 14:20:18 +02:00
ctl.c thunderbolt: Move pci_device out of tb_nhi 2026-05-21 14:29:05 +02:00
ctl.h thunderbolt: Add missing documentation in ctl.h tb_cfg_request struct 2025-09-17 07:32:58 +02:00
debugfs.c thunderbolt: debugfs: Fix sideband write size check 2026-06-08 12:47:28 +02:00
dma_port.c thunderbolt: dma_port: kmalloc_array + kzalloc to flex 2026-03-18 14:31:56 +01:00
dma_port.h
dma_test.c thunderbolt: Drop comma after device id array terminator 2026-07-27 11:59:44 +02:00
domain.c thunderbolt: Stop passing matched device ID to .probe() 2026-07-27 11:59:44 +02:00
eeprom.c thunderbolt: Move pci_device out of tb_nhi 2026-05-21 14:29:05 +02:00
icm.c thunderbolt: Move pci_device out of tb_nhi 2026-05-21 14:29:05 +02:00
Kconfig thunderbolt: Add support for USB4STREAM 2026-05-19 14:20:18 +02:00
lc.c thunderbolt: Fix typos in lc.c 2025-11-17 08:24:23 +01:00
Makefile thunderbolt: Separate out common NHI bits 2026-05-21 14:29:05 +02:00
nhi_regs.h thunderbolt / net: Let the service drivers configure interrupt throttling 2026-05-19 14:20:18 +02:00
nhi.c thunderbolt: Assert downstream port reset on shutdown 2026-07-27 11:59:43 +02:00
nhi.h thunderbolt: Separate out common NHI bits 2026-05-21 14:29:05 +02:00
nvm.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
path.c thunderbolt: Activate path hops from source to destination 2026-05-20 11:54:34 +02:00
pci.c thunderbolt: Remove redundant dev_err_probe() 2026-07-28 13:52:43 +02:00
property.c USB/Thunderbolt driver changes for 7.2-rc1 2026-06-22 12:09:47 -07:00
quirks.c thunderbolt: Disable CLx on Titan Ridge-based devices with old firmware 2026-03-02 07:51:58 +01:00
retimer.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sb_regs.h thunderbolt: debugfs: Implement asymmetric lane margining 2024-11-01 07:55:38 +02:00
stream.c thunderbolt: stream: Restore consumer if copying from iter fails 2026-08-05 05:53:57 +02:00
switch.c thunderbolt: Assert downstream port reset on shutdown 2026-07-27 11:59:43 +02:00
tb_msgs.h thunderbolt: Notify userspace about firmware CM tunneling events 2025-04-24 08:24:39 +03:00
tb_regs.h thunderbolt: Increase Notification Timeout to 255 ms for USB4 routers 2026-05-20 11:54:35 +02:00
tb.c thunderbolt: Assert downstream port reset on shutdown 2026-07-27 11:59:43 +02:00
tb.h thunderbolt: Assert downstream port reset on shutdown 2026-07-27 11:59:43 +02:00
test.c thunderbolt: test: Release third DP tunnel 2026-06-01 12:37:32 +02:00
tmu.c thunderbolt: Fix typos in tmu.c 2025-11-17 08:24:24 +01:00
trace.h thunderbolt: Correct trace output of firmware connection manager packets 2024-04-29 07:47:54 +03:00
tunnel.c thunderbolt: Verify PCIe adapter in detect state before tunnel setup 2026-05-20 11:54:34 +02:00
tunnel.h thunderbolt: tunnel: Simplify allocation 2026-04-07 09:00:26 +02:00
usb4_port.c thunderbolt: Move pci_device out of tb_nhi 2026-05-21 14:29:05 +02:00
usb4.c thunderbolt: Increase timeout for Configuration Ready bit 2026-05-20 11:54:34 +02:00
xdomain.c thunderbolt: xdomain: Notify peers after enumeration 2026-07-27 11:59:44 +02:00