aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/cx23885/cx23885-417.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/pci/cx23885/cx23885-417.c')
-rw-r--r--drivers/media/pci/cx23885/cx23885-417.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/media/pci/cx23885/cx23885-417.c b/drivers/media/pci/cx23885/cx23885-417.c
index e4901a503c73..63c0ee5d0bf5 100644
--- a/drivers/media/pci/cx23885/cx23885-417.c
+++ b/drivers/media/pci/cx23885/cx23885-417.c
@@ -1339,14 +1339,13 @@ static int vidioc_querycap(struct file *file, void *priv,
1339 strlcpy(cap->driver, dev->name, sizeof(cap->driver)); 1339 strlcpy(cap->driver, dev->name, sizeof(cap->driver));
1340 strlcpy(cap->card, cx23885_boards[tsport->dev->board].name, 1340 strlcpy(cap->card, cx23885_boards[tsport->dev->board].name,
1341 sizeof(cap->card)); 1341 sizeof(cap->card));
1342 sprintf(cap->bus_info, "PCI:%s", pci_name(dev->pci)); 1342 sprintf(cap->bus_info, "PCIe:%s", pci_name(dev->pci));
1343 cap->capabilities = 1343 cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_READWRITE |
1344 V4L2_CAP_VIDEO_CAPTURE | 1344 V4L2_CAP_STREAMING;
1345 V4L2_CAP_READWRITE |
1346 V4L2_CAP_STREAMING |
1347 0;
1348 if (dev->tuner_type != TUNER_ABSENT) 1345 if (dev->tuner_type != TUNER_ABSENT)
1349 cap->capabilities |= V4L2_CAP_TUNER; 1346 cap->device_caps |= V4L2_CAP_TUNER;
1347 cap->capabilities = cap->device_caps | V4L2_CAP_VBI_CAPTURE |
1348 V4L2_CAP_AUDIO | V4L2_CAP_DEVICE_CAPS;
1350 1349
1351 return 0; 1350 return 0;
1352} 1351}