media: common: saa7146: replace BUG_ON by WARN_ON
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 2 Mar 2023 10:05:58 +0000 (10:05 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 07:51:21 +0000 (08:51 +0100)
commit40e986c99624c5306c0d18fd9011a55440c5f61a
tree23ea5efccec0d5a30cbe8e984a0902060cfb2bb9
parentc79dbdae3a7693903a92a2348493e7084d9477b3
media: common: saa7146: replace BUG_ON by WARN_ON

No need for BUG_ON, WARN_ON is a lot friendlier.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/common/saa7146/saa7146_core.c
drivers/media/common/saa7146/saa7146_fops.c
drivers/media/common/saa7146/saa7146_hlp.c