linux/drivers/media/usb/usbtv
Benjamin Gaignard 65e6a2773d media: usbtv: Remove useless locks in usbtv_video_free()
Remove locks calls in usbtv_video_free() because
are useless and may led to a deadlock as reported here:
https://syzkaller.appspot.com/x/bisect.txt?x=166dc872180000
Also remove usbtv_stop() call since it will be called when
unregistering the device.

Before 'c838530d230b' this issue would only be noticed if you
disconnect while streaming and now it is noticeable even when
disconnecting while not streaming.

Fixes: c838530d23 ("media: media videobuf2: Be more flexible on the number of queue stored buffers")
Fixes: f3d27f34fd ("[media] usbtv: Add driver for Fushicai USBTV007 video frame grabber")

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Tested-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: fix minor spelling mistake in log message]
2024-03-04 12:58:38 +01:00
..
Kconfig media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
Makefile
usbtv-audio.c media: usbtv: Fix deadlock on suspend 2021-03-11 11:40:28 +01:00
usbtv-core.c usbtv: usbtv_set_regs: the pipe is output 2023-04-11 17:10:10 +02:00
usbtv-video.c media: usbtv: Remove useless locks in usbtv_video_free() 2024-03-04 12:58:38 +01:00
usbtv.h media: usbtv: Add PAL-Nc standard 2022-06-20 10:30:30 +01:00