]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/media/video/ivtv/ivtv-ioctl.c
V4L/DVB (8090): ivtv: yuv decoder lock fix (2)
[net-next-2.6.git] / drivers / media / video / ivtv / ivtv-ioctl.c
index b1cda6cd5582205e0b1b9db48b28dc1a5e01725c..aa222056dd476020d853bb8260d820b7f6e976e5 100644 (file)
@@ -1539,7 +1539,7 @@ static int ivtv_decoder_ioctls(struct file *filp, unsigned int cmd, void *arg)
                        return -EINVAL;
                if (itv->output_mode == OUT_UDMA_YUV && args->y_source == NULL)
                        return 0;
-               if (ivtv_claim_stream(id, id->type)) {
+               if (ivtv_start_decoding(id, id->type)) {
                        return -EBUSY;
                }
                if (ivtv_set_output_mode(itv, OUT_UDMA_YUV) != OUT_UDMA_YUV) {