diff options
author | Michael Grzeschik <[email protected]> | 2021-10-17 23:50:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-10-21 12:58:47 +0200 |
commit | f9897ec0f6d34e8b2bc2f4c8ab8789351090f3d2 (patch) | |
tree | 58417d8874ea379ae03e6bac33686ecefd753b59 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 5fc49d8bee73648a706f5892663f5bd728ab07ea (diff) |
usb: gadget: uvc: only pump video data if necessary
If the streaming endpoint is not enabled, the worker has nothing to do.
In the case buffers are still queued, this patch ensures that it will bail
out without handling any data.
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Paul Elder <[email protected]>
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 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions