aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMichael Grzeschik <[email protected]>2023-09-11 16:05:29 +0200
committerGreg Kroah-Hartman <[email protected]>2023-10-02 13:58:35 +0200
commit52a39f2cf62bb5430ad1f54cd522dbfdab1d71ba (patch)
tree80afa34e401c8a55f1fe5456d6984a92253bbd04 /tools/perf/scripts/python
parent3a63f86c6a6cb0601f0563a81574745da2979e3b (diff)
usb: gadget: uvc: cleanup request when not in correct state
The uvc_video_enable function of the uvc-gadget driver is dequeing and immediately deallocs all requests on its disable codepath. This is not save since the dequeue function is async and does not ensure that the requests are left unlinked in the controller driver. By adding the ep_free_request into the completion path of the requests we ensure that the request will be properly deallocated. Signed-off-by: Michael Grzeschik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions