aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-ioctl.c')
-rw-r--r--drivers/media/video/ivtv/ivtv-ioctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c
index ed5707660e0e..2bb1e324785b 100644
--- a/drivers/media/video/ivtv/ivtv-ioctl.c
+++ b/drivers/media/video/ivtv/ivtv-ioctl.c
@@ -1346,6 +1346,8 @@ static int ivtv_decoder_ioctls(struct file *filp, unsigned int cmd, void *arg)
1346 ivtv_release_stream(s); 1346 ivtv_release_stream(s);
1347 return -EBUSY; 1347 return -EBUSY;
1348 } 1348 }
1349 /* Mark that this file handle started the UDMA_YUV mode */
1350 id->yuv_frames = 1;
1349 if (args->y_source == NULL) 1351 if (args->y_source == NULL)
1350 return 0; 1352 return 0;
1351 return ivtv_yuv_prep_frame(itv, args); 1353 return ivtv_yuv_prep_frame(itv, args);