diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2021-10-17 23:50:16 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-21 12:58:47 +0200 |
commit | f9897ec0f6d34e8b2bc2f4c8ab8789351090f3d2 (patch) | |
tree | 58417d8874ea379ae03e6bac33686ecefd753b59 /tools/perf/scripts/python/exported-sql-viewer.py | |
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 <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20211017215017.18392-6-m.grzeschik@pengutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions