kernel_optimize_test/drivers/media/pci/bt8xx
Ondrej Zary 712dd2ac26 media: bttv: fix WARNING regression on tunerless devices
[ Upstream commit ef058cc8b7193d15a771272359c7454839ae74ee ]

Commit 2161536516 ("media: media/pci: set device_caps in struct video_device")
introduced a regression: V4L2_CAP_TUNER is always present in device_caps,
even when the device has no tuner.

This causes a warning:
WARNING: CPU: 0 PID: 249 at drivers/media/v4l2-core/v4l2-ioctl.c:1102 v4l_querycap+0xa0/0xb0 [videodev]

Fixes: 2161536516 ("media: media/pci: set device_caps in struct video_device")
Signed-off-by: Ondrej Zary <linux@zary.sk>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:05 +02:00
..
bt848.h
bt878.c
bt878.h
btcx-risc.c
btcx-risc.h
bttv-audio-hook.c
bttv-audio-hook.h
bttv-cards.c
bttv-driver.c
bttv-gpio.c
bttv-i2c.c
bttv-if.c
bttv-input.c
bttv-risc.c
bttv-vbi.c
bttv.h
bttvp.h
dst_ca.c
dst_ca.h
dst_common.h
dst_priv.h
dst.c
dvb-bt8xx.c
dvb-bt8xx.h
Kconfig
Makefile