linux/drivers/media/pci
Ondrej Zary ef058cc8b7 media: bttv: fix WARNING regression on tunerless devices
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>
2022-01-23 21:18:43 +01:00
..
b2c2 media: b2c2: Add missing check in flexcop_pci_isr: 2021-11-19 15:40:09 +00:00
bt8xx media: bttv: fix WARNING regression on tunerless devices 2022-01-23 21:18:43 +01:00
cobalt media: cobalt: drop an unused variable 2021-11-29 13:23:25 +01:00
cx18 media: cx18: drop an unused macro 2021-11-22 08:32:02 +00:00
cx88 media: pci: cx88: switch from 'pci_' to 'dma_' API 2021-06-17 10:24:41 +02:00
cx23885 media: cx23885: Fix snd_card_free call on null card pointer 2021-09-30 10:08:00 +02:00
cx25821 media: cx25821: drop duplicated i2c_slave_did_ack() 2021-11-22 08:24:03 +00:00
ddbridge media: switch from 'pci_' to 'dma_' API 2021-09-30 10:07:55 +02:00
dm1105 media: dm1105: switch from 'pci_' to 'dma_' API 2020-11-27 14:10:07 +01:00
dt3155
intel media: ipu3-cio2: Add support for instantiating i2c-clients for VCMs 2021-12-16 20:58:56 +01:00
ivtv media: ivtv: no need to initialise statics to 0 2021-12-14 16:19:04 +01:00
mantis media: mantis: remove orphan mantis_core.c 2021-03-22 17:27:13 +01:00
meye
netup_unidvb media: switch from 'pci_' to 'dma_' API 2021-09-30 10:07:55 +02:00
ngene media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf() 2021-07-19 19:33:46 -05:00
pluto2 media: switch from 'pci_' to 'dma_' API 2021-09-30 10:07:55 +02:00
pt1 media: switch from 'pci_' to 'dma_' API 2021-09-30 10:07:55 +02:00
pt3 media: pt3: Switch to using functions pcim_* and devm_* 2021-12-14 15:09:14 +01:00
saa7134 media: saa7134: use swap() to make code cleaner 2022-01-23 21:18:42 +01:00
saa7146 media: saa7146: remove redundant assignments of i to zero 2021-12-14 16:19:03 +01:00
saa7164 media: saa7164: Remove redundant assignment of pointer t 2021-09-30 10:07:59 +02:00
smipcie media: smipcie: fix interrupt handling and IR timeout 2021-02-05 23:41:25 +01:00
solo6x10 media: solo6x10: mark unused functions as such 2021-11-29 13:23:14 +01:00
sta2x11 media updates for v5.13-rc1 2021-04-28 09:24:36 -07:00
ttpci media: ttpci: switch from 'pci_' to 'dma_' API 2021-06-02 13:16:55 +02:00
tw68 media: tw68: switch from 'pci_' to 'dma_' API 2021-04-06 16:07:42 +02:00
tw686x media: tw686x: switch from 'pci_' to 'dma_' API 2021-04-06 16:07:26 +02:00
tw5864 media: tw5864: Disable PCI device when finished 2021-11-15 08:12:01 +00:00
Kconfig
Makefile