Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367024
b: refs/heads/master
c: 97caa31
h: refs/heads/master
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Apr 14, 2013
1 parent 026a841 commit 432ab75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 41022fcb3db75c9777bbd05da114c7eb597694df
refs/heads/master: 97caa318b3ced2241cf1eda772a72c9c2ea19abb
6 changes: 3 additions & 3 deletions trunk/drivers/media/usb/hdpvr/hdpvr-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ static int vidioc_s_input(struct file *file, void *private_data,
return -EINVAL;

if (dev->status != STATUS_IDLE)
return -EAGAIN;
return -EBUSY;

retval = hdpvr_config_call(dev, CTRL_VIDEO_INPUT_VALUE, index+1);
if (!retval)
Expand Down Expand Up @@ -646,7 +646,7 @@ static int vidioc_s_audio(struct file *file, void *private_data,
return -EINVAL;

if (dev->status != STATUS_IDLE)
return -EAGAIN;
return -EBUSY;

retval = hdpvr_set_audio(dev, audio->index+1, dev->options.audio_codec);
if (!retval)
Expand Down Expand Up @@ -777,7 +777,7 @@ static int vidioc_enum_fmt_vid_cap(struct file *file, void *private_data,
struct v4l2_fmtdesc *f)
{

if (f->index != 0 || f->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
if (f->index != 0)
return -EINVAL;

f->flags = V4L2_FMT_FLAG_COMPRESSED;
Expand Down

0 comments on commit 432ab75

Please sign in to comment.