aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt8xx/bttv-driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/bt8xx/bttv-driver.c')
-rw-r--r--drivers/media/video/bt8xx/bttv-driver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/bt8xx/bttv-driver.c b/drivers/media/video/bt8xx/bttv-driver.c
index 3079d925e4cf..1dc79b82cf42 100644
--- a/drivers/media/video/bt8xx/bttv-driver.c
+++ b/drivers/media/video/bt8xx/bttv-driver.c
@@ -2928,8 +2928,6 @@ static int bttv_g_parm(struct file *file, void *f,
2928 struct bttv_fh *fh = f; 2928 struct bttv_fh *fh = f;
2929 struct bttv *btv = fh->btv; 2929 struct bttv *btv = fh->btv;
2930 2930
2931 if (parm->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
2932 return -EINVAL;
2933 v4l2_video_std_frame_period(bttv_tvnorms[btv->tvnorm].v4l2_id, 2931 v4l2_video_std_frame_period(bttv_tvnorms[btv->tvnorm].v4l2_id,
2934 &parm->parm.capture.timeperframe); 2932 &parm->parm.capture.timeperframe);
2935 return 0; 2933 return 0;