linux/drivers/media/common/saa7146
Thomas Gleixner 9bb83e8fe2 media: Bulk remove BUG_ON(in_interrupt())
None of these BUG_ON()'s is justified. BUG_ON() should only be used when
there is really no way to survive.

If at all these could be replaced by lockdep_assert_preemption_enabled() to
cover all invalid caller context and not just those covered by
in_interrupt().

But all functions which are invoked from those places contain already debug
mechanisms to catch wrong context, so having these extra checks is not
having any advantage.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-16 10:31:10 +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 media: saa7146: drop double zeroing 2020-09-27 11:30:13 +02:00
saa7146_fops.c media: Bulk remove BUG_ON(in_interrupt()) 2020-11-16 10:31:10 +01: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: v4l2: allocate v4l2_clip objects early 2020-11-16 10:31:06 +01:00