diff options
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c b/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c index c80c26be6e4d..848fb233d808 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c +++ b/drivers/media/video/pvrusb2/pvrusb2-cx2584x-v4l.c | |||
@@ -260,6 +260,22 @@ int pvr2_i2c_cx2584x_v4l_setup(struct pvr2_hdw *hdw, | |||
260 | sizeof(decoder_ops[0]))) - 1; | 260 | sizeof(decoder_ops[0]))) - 1; |
261 | hdw->decoder_ctrl = &ctxt->ctrl; | 261 | hdw->decoder_ctrl = &ctxt->ctrl; |
262 | cp->handler = &ctxt->handler; | 262 | cp->handler = &ctxt->handler; |
263 | { | ||
264 | /* | ||
265 | Mike Isely <isely@pobox.com> 19-Nov-2006 - This bit | ||
266 | of nuttiness for cx25840 causes that module to | ||
267 | correctly set up its video scaling. This is really | ||
268 | a problem in the cx25840 module itself, but we work | ||
269 | around it here. The problem has not been seen in | ||
270 | ivtv because there VBI is supported and set up. We | ||
271 | don't do VBI here (at least not yet) and thus we | ||
272 | never attempted to even set it up. | ||
273 | */ | ||
274 | struct v4l2_format fmt; | ||
275 | memset(&fmt,0,sizeof(fmt)); | ||
276 | fmt.type = V4L2_BUF_TYPE_SLICED_VBI_CAPTURE; | ||
277 | pvr2_i2c_client_cmd(ctxt->client,VIDIOC_S_FMT,&fmt); | ||
278 | } | ||
263 | pvr2_trace(PVR2_TRACE_CHIPS,"i2c 0x%x cx2584x V4L2 handler set up", | 279 | pvr2_trace(PVR2_TRACE_CHIPS,"i2c 0x%x cx2584x V4L2 handler set up", |
264 | cp->client->addr); | 280 | cp->client->addr); |
265 | return !0; | 281 | return !0; |