summaryrefslogtreecommitdiff
path: root/drivers/ssb
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2024-04-02 14:09:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-04-04 16:20:30 +0300
commit862b416560c348f66d2091c56e71fd5462510cab (patch)
tree5d1a3e4253c7362acd87880a56495f2a2524a2cd /drivers/ssb
parent1500a7b2794d46beadd408132ddb5ef669c5c057 (diff)
downloadlinux-862b416560c348f66d2091c56e71fd5462510cab.tar.xz
usb: gadget: functionfs: Wait for fences before enqueueing DMABUF
Instead of bailing when fences have already been installed on the DMABUF, wait for them (with a timeout) when doing a blocking operation. This fixes the issue where userspace would submit a DMABUF with fences already installed, with the (correct) expectation that it would just work. Fixes: 7b07a2a7ca02 ("usb: gadget: functionfs: Add DMABUF import interface") Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20240402110951.16376-3-paul@crapouillou.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ssb')
0 files changed, 0 insertions, 0 deletions