aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/device.py
diff options
context:
space:
mode:
authorUdipto Goswami <[email protected]>2022-12-15 10:59:06 +0530
committerGreg Kroah-Hartman <[email protected]>2023-01-17 17:07:06 +0100
commitce405d561b020e5a46340eb5146805a625dcacee (patch)
tree0a2dabd339293557e27bda1af6092aaed4c20ded /scripts/gdb/linux/device.py
parent6a19da111057f69214b97c62fb0ac59023970850 (diff)
usb: gadget: f_fs: Ensure ep0req is dequeued before free_request
As per the documentation, function usb_ep_free_request guarantees the request will not be queued or no longer be re-queued (or otherwise used). However, with the current implementation it doesn't make sure that the request in ep0 isn't reused. Fix this by dequeuing the ep0req on functionfs_unbind before freeing the request to align with the definition. Fixes: ddf8abd25994 ("USB: f_fs: the FunctionFS driver") Signed-off-by: Udipto Goswami <[email protected]> Tested-by: Krishna Kurapati <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions