summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorWesley Cheng <wcheng@codeaurora.org>2021-05-07 10:55:19 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-10 14:54:48 +0200
commit18ffa988dbae69cc6e9949cddd9606f6fe533894 (patch)
tree79cbf2647bec35fb3fb8354bb2adb7e8b62be44e /fs/dcache.c
parentbb9c74a5bd1462499fe5ccb1e3c5ac40dcfa9139 (diff)
downloadlinux-18ffa988dbae69cc6e9949cddd9606f6fe533894.tar.bz2
usb: dwc3: gadget: Return success always for kick transfer in ep queue
If an error is received when issuing a start or update transfer command, the error handler will stop all active requests (including the current USB request), and call dwc3_gadget_giveback() to notify function drivers of the requests which have been stopped. Avoid returning an error for kick transfer during EP queue, to remove duplicate cleanup operations on the request being queued. Fixes: 8d99087c2db8 ("usb: dwc3: gadget: Properly handle failed kick_transfer") cc: stable@vger.kernel.org Signed-off-by: Wesley Cheng <wcheng@codeaurora.org> Link: https://lore.kernel.org/r/1620410119-24971-1-git-send-email-wcheng@codeaurora.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions