summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tuner-xc2028.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/tuner-xc2028.c')
-rw-r--r--linux/drivers/media/video/tuner-xc2028.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/video/tuner-xc2028.c b/linux/drivers/media/video/tuner-xc2028.c
index fdea79c28..9983817b5 100644
--- a/linux/drivers/media/video/tuner-xc2028.c
+++ b/linux/drivers/media/video/tuner-xc2028.c
@@ -699,6 +699,9 @@ static int xc2028_set_config (struct dvb_frontend *fe, void *priv_cfg)
strcpy(priv->ctrl.fname, p->fname);
}
+ if (p->max_len>0)
+ priv->max_len = p->max_len;
+
tuner_info("%s OK\n", __FUNCTION__);
return 0;