Skip to content

Commit

Permalink
V4L/DVB: cx231xx: switch to new vbi subdev ops
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed May 19, 2010
1 parent 09419af commit 7e87ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/cx231xx/cx231xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ static int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *priv,

f->fmt.sliced.service_set = 0;

call_all(dev, video, g_fmt, f);
call_all(dev, vbi, g_sliced_fmt, &f->fmt.sliced);

if (f->fmt.sliced.service_set == 0)
rc = -EINVAL;
Expand All @@ -1690,7 +1690,7 @@ static int vidioc_try_set_sliced_vbi_cap(struct file *file, void *priv,
return rc;

mutex_lock(&dev->lock);
call_all(dev, video, g_fmt, f);
call_all(dev, vbi, g_sliced_fmt, &f->fmt.sliced);
mutex_unlock(&dev->lock);

if (f->fmt.sliced.service_set == 0)
Expand Down

0 comments on commit 7e87ddb

Please sign in to comment.