Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366506
b: refs/heads/master
c: 3969600
h: refs/heads/master
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 5, 2013
1 parent c85c094 commit 798e609
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 44d06d8273e032119c5ae0d0f90bb57ab8118a5b
refs/heads/master: 39696009d0d4472606b7fb90fc635a0d0fecba60
4 changes: 3 additions & 1 deletion trunk/drivers/media/usb/s2255/s2255drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -821,10 +821,12 @@ static int vidioc_querycap(struct file *file, void *priv,
{
struct s2255_fh *fh = file->private_data;
struct s2255_dev *dev = fh->dev;

strlcpy(cap->driver, "s2255", sizeof(cap->driver));
strlcpy(cap->card, "s2255", sizeof(cap->card));
usb_make_path(dev->udev, cap->bus_info, sizeof(cap->bus_info));
cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING;
cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_STREAMING;
cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS;
return 0;
}

Expand Down

0 comments on commit 798e609

Please sign in to comment.