summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/stream.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-10-01 13:26:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-10-01 13:26:31 +0200
commita93862fa670a9c99fd9a24fb2ef69e4f948d9bd5 (patch)
treedc4b9c87ac944efe64bd7160fc391f81be41a904 /drivers/thunderbolt/stream.c
parent1ff77cbefe5a653ea12874c213ea4bd0d72c1067 (diff)
parent395e9f2967a7ac6898026e8f136c369805dc2fd9 (diff)
downloadlinux-stable-a93862fa670a9c99fd9a24fb2ef69e4f948d9bd5.tar.gz
linux-stable-a93862fa670a9c99fd9a24fb2ef69e4f948d9bd5.zip
Merge tag 'thunderbolt-for-v7.3-rc6' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-linus
Mika writes: thunderbolt: Fixes for v7.3-rc6 This includes following USB4/Thunderbolt fixes: - Fix XDomain property parser to reject oversized properties responses. - Revert a quirk that causes deadlock at shutdown. - Fix USB4STREAM to announce FMODE_NOWAIT. - Add a quirk that disables CL states for Anker Prime TB5 dock to avoid link instability. All these have been in linux-next with no reported issues. * tag 'thunderbolt-for-v7.3-rc6' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt: thunderbolt: Disable CL states for the Anker Prime TB5 dock thunderbolt: stream: Announce support for FMODE_NOWAIT Revert "thunderbolt: Add quirk to reset host interface on DMA path teardown for AMD USB4 routers" thunderbolt: Reject oversized XDomain properties responses
Diffstat (limited to 'drivers/thunderbolt/stream.c')
-rw-r--r--drivers/thunderbolt/stream.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/thunderbolt/stream.c b/drivers/thunderbolt/stream.c
index 25c259dd0..988765c98 100644
--- a/drivers/thunderbolt/stream.c
+++ b/drivers/thunderbolt/stream.c
@@ -978,6 +978,9 @@ static int tbstream_dev_fops_open(struct inode *inode, struct file *file)
}
mutex_unlock(&sdev->lock);
+
+ /* Stream handles IOCB_NOWAIT just fine */
+ file->f_mode |= FMODE_NOWAIT;
return 0;
err_unlock: