diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-03-14 11:31:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:58:51 -0400 |
commit | 7e87ddb101caa747edf388220c758c99553566f5 (patch) | |
tree | 5e9ed0585627205a8554d210383da4b083e08e36 /drivers/media/video | |
parent | 09419af39b510851ed14319a93b6d214b80025db (diff) |
V4L/DVB: cx231xx: switch to new vbi subdev ops
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-video.c b/drivers/media/video/cx231xx/cx231xx-video.c index 597c416218cf..2782709b263f 100644 --- a/drivers/media/video/cx231xx/cx231xx-video.c +++ b/drivers/media/video/cx231xx/cx231xx-video.c | |||
@@ -1669,7 +1669,7 @@ static int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *priv, | |||
1669 | 1669 | ||
1670 | f->fmt.sliced.service_set = 0; | 1670 | f->fmt.sliced.service_set = 0; |
1671 | 1671 | ||
1672 | call_all(dev, video, g_fmt, f); | 1672 | call_all(dev, vbi, g_sliced_fmt, &f->fmt.sliced); |
1673 | 1673 | ||
1674 | if (f->fmt.sliced.service_set == 0) | 1674 | if (f->fmt.sliced.service_set == 0) |
1675 | rc = -EINVAL; | 1675 | rc = -EINVAL; |
@@ -1690,7 +1690,7 @@ static int vidioc_try_set_sliced_vbi_cap(struct file *file, void *priv, | |||
1690 | return rc; | 1690 | return rc; |
1691 | 1691 | ||
1692 | mutex_lock(&dev->lock); | 1692 | mutex_lock(&dev->lock); |
1693 | call_all(dev, video, g_fmt, f); | 1693 | call_all(dev, vbi, g_sliced_fmt, &f->fmt.sliced); |
1694 | mutex_unlock(&dev->lock); | 1694 | mutex_unlock(&dev->lock); |
1695 | 1695 | ||
1696 | if (f->fmt.sliced.service_set == 0) | 1696 | if (f->fmt.sliced.service_set == 0) |