Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 268449
b: refs/heads/master
c: f9a8150
h: refs/heads/master
i:
  268447: 9e52654
v: v3
  • Loading branch information
Leonid V. Fedorenchik authored and Greg Kroah-Hartman committed Sep 16, 2011
1 parent d0a9539 commit 8df959d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 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: 02859b61cc0ec4bba2dca638268afb3c4d73d3a7
refs/heads/master: f9a8150c924c9793ee6cd52cce663756bae27314
20 changes: 10 additions & 10 deletions trunk/drivers/staging/cx25821/cx25821-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1080,18 +1080,18 @@ static int vidioc_log_status(struct file *file, void *priv)
static int vidioc_s_ctrl(struct file *file, void *priv,
struct v4l2_control *ctl)
{
struct cx25821_fh *fh = priv;
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
int err;
struct cx25821_fh *fh = priv;
struct cx25821_dev *dev = ((struct cx25821_fh *)priv)->dev;
int err;

if (fh) {
err = v4l2_prio_check(&dev->channels[fh->channel_id]
.prio, fh->prio);
if (0 != err)
return err;
}
if (fh) {
err = v4l2_prio_check(&dev->channels[fh->channel_id].prio,
fh->prio);
if (0 != err)
return err;
}

return cx25821_set_control(dev, ctl, fh->channel_id);
return cx25821_set_control(dev, ctl, fh->channel_id);
}

/* VIDEO IOCTLS */
Expand Down

0 comments on commit 8df959d

Please sign in to comment.