diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-03-14 11:24:15 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:58:50 -0400 |
commit | add632cd2580ceb4de9f71ab58c658e9bdebd7f7 (patch) | |
tree | 3290b7f900af6ed8e4c21b1a4ee8f762b5f4dd65 /drivers/media/video/cx18/cx18-streams.c | |
parent | 4ff0790b6d8b26a4160e46bbd7bf6f4f48e391f9 (diff) |
V4L/DVB: cx18: 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/cx18/cx18-streams.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-streams.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/video/cx18/cx18-streams.c b/drivers/media/video/cx18/cx18-streams.c index 054450f65a60..f5c91261b2db 100644 --- a/drivers/media/video/cx18/cx18-streams.c +++ b/drivers/media/video/cx18/cx18-streams.c | |||
@@ -374,7 +374,10 @@ static void cx18_vbi_setup(struct cx18_stream *s) | |||
374 | } | 374 | } |
375 | 375 | ||
376 | /* setup VBI registers */ | 376 | /* setup VBI registers */ |
377 | v4l2_subdev_call(cx->sd_av, video, s_fmt, &cx->vbi.in); | 377 | if (raw) |
378 | v4l2_subdev_call(cx->sd_av, vbi, s_raw_fmt, &cx->vbi.in.fmt.vbi); | ||
379 | else | ||
380 | v4l2_subdev_call(cx->sd_av, vbi, s_sliced_fmt, &cx->vbi.in.fmt.sliced); | ||
378 | 381 | ||
379 | /* | 382 | /* |
380 | * Send the CX18_CPU_SET_RAW_VBI_PARAM API command to setup Encoder Raw | 383 | * Send the CX18_CPU_SET_RAW_VBI_PARAM API command to setup Encoder Raw |