diff options
author | Michael Grzeschik <[email protected]> | 2021-10-17 23:50:15 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-10-21 12:58:34 +0200 |
commit | 5fc49d8bee73648a706f5892663f5bd728ab07ea (patch) | |
tree | 2ce7dc884ab4521142a4b30ea6011eaed42673a8 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 38db3716a5f8f022ae38f7431913e6b479015b74 (diff) |
usb: gadget: uvc: only schedule stream in streaming state
This patch ensures that the video pump thread will only be scheduled if
the uvc is really in streaming state. This way the worker will not have
to run on an empty queue.
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