summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2024-09-26 05:49:59 +0000
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-10-08 16:04:45 +0200
commit4115edeff98f2ce9f821a8bddcd7a646cfdde77a (patch)
tree7f9b4b0b5022fc64402096fb065ad2f70ebdd1cc /tools/perf/scripts/python/task-analyzer.py
parentc5fe3ed618f995b4a903e574bf2e993cdebeefca (diff)
downloadlinux-4115edeff98f2ce9f821a8bddcd7a646cfdde77a.tar.gz
linux-4115edeff98f2ce9f821a8bddcd7a646cfdde77a.zip
media: uvcvideo: Exit early if there is not int_urb
If there is no int_urb there is no need to do a clean stop. Also we avoid calling usb_kill_urb(NULL). It is properly handled by the usb framework, but it is not polite. Now that we are at it, fix the code style in uvc_status_start() for consistency. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Link: https://lore.kernel.org/r/20240926-guenter-mini-v7-3-690441953d4a@chromium.org Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions