summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/gspca
diff options
context:
space:
mode:
authorOndrej Zary <linux@zary.sk>2021-12-25 22:58:44 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-01-23 21:18:43 +0100
commitef058cc8b7193d15a771272359c7454839ae74ee (patch)
tree36431ff2addcba6762ea603cc23f672248577df5 /drivers/media/usb/gspca
parent784a1883cff07e7510a81ad3041d6ec443d51944 (diff)
downloadlinux-stable-ef058cc8b7193d15a771272359c7454839ae74ee.tar.gz
linux-stable-ef058cc8b7193d15a771272359c7454839ae74ee.tar.bz2
linux-stable-ef058cc8b7193d15a771272359c7454839ae74ee.zip
media: bttv: fix WARNING regression on tunerless devices
Commit 2161536516ed ("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: 2161536516ed ("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>
Diffstat (limited to 'drivers/media/usb/gspca')
0 files changed, 0 insertions, 0 deletions