WSL2-Linux-Kernel/drivers/media/common/saa7146
Aditya Pakki 1ec4c6efe2 media: saa7146: Avoid using BUG_ON as an assertion
In video_begin and video_end, saa7146_format_by_fourcc can return
NULL and is checked via BUG_ON. However, by returning the error
to the callers upstream, we can avoid the crash and handle it via
recovery code.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-01-08 14:28:59 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
saa7146_core.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
saa7146_fops.c media: media/pci: set device_caps in struct video_device 2019-06-24 14:57:12 -04:00
saa7146_hlp.c treewide: Add SPDX license identifier for missed files 2019-05-21 10:50:45 +02:00
saa7146_i2c.c media: saa7146: make use of i2c_8bit_addr_from_msg 2019-01-16 12:38:42 -05:00
saa7146_vbi.c treewide: Remove TIMER_FUNC_TYPE and TIMER_DATA_TYPE casts 2017-11-21 16:35:54 -08:00
saa7146_video.c media: saa7146: Avoid using BUG_ON as an assertion 2020-01-08 14:28:59 +01:00