Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367181
b: refs/heads/master
c: 0df13d9
h: refs/heads/master
i:
  367179: 2899cd8
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Apr 16, 2013
1 parent 0ec3416 commit e1d55a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4c1d0f73021393dda4a226b5c4c86b2d730d656c
refs/heads/master: 0df13d99f7c90e3f96408c0ba425e9fb1e48bbd3
4 changes: 2 additions & 2 deletions trunk/drivers/media/pci/cx25821/cx25821-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ static int cx25821_vidioc_querycap(struct file *file, void *priv,
struct cx25821_dev *dev = chan->dev;
const u32 cap_input = V4L2_CAP_VIDEO_CAPTURE |
V4L2_CAP_READWRITE | V4L2_CAP_STREAMING;
const u32 cap_output = V4L2_CAP_VIDEO_OUTPUT;
const u32 cap_output = V4L2_CAP_VIDEO_OUTPUT | V4L2_CAP_READWRITE;

strcpy(cap->driver, "cx25821");
strlcpy(cap->card, cx25821_boards[dev->board].name, sizeof(cap->card));
Expand All @@ -728,7 +728,7 @@ static int cx25821_vidioc_querycap(struct file *file, void *priv,
cap->device_caps = cap_output;
else
cap->device_caps = cap_input;
cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS;
cap->capabilities = cap_input | cap_output | V4L2_CAP_DEVICE_CAPS;
return 0;
}

Expand Down

0 comments on commit e1d55a1

Please sign in to comment.