Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76364
b: refs/heads/master
c: 352fae1
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 25, 2008
1 parent b3be715 commit 9afa782
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ae1fe2a0935afa878b8a506633fea45a8b00293
refs/heads/master: 352fae1dffe2d0d04949e579d03667377a176cff
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/em28xx/em28xx-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@ static void em28xx_config_tuner (struct em28xx *dev)

memset (&ctl,0,sizeof(ctl));

ctl.fname = XC2028_DEFAULT_FIRMWARE;
ctl.fname = XC2028_DEFAULT_FIRMWARE;
ctl.max_len = 64;

xc2028_cfg.tuner = TUNER_XC2028;
xc2028_cfg.priv = &ctl;
Expand Down
3 changes: 3 additions & 0 deletions trunk/drivers/media/video/tuner-xc2028.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,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;
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/video/tuner-xc2028.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ enum xc2028_firm_type {
struct xc2028_ctrl {
enum xc2028_firm_type type;
char *fname;
int max_len;
};

/* xc2028 commands for callback */
Expand Down

0 comments on commit 9afa782

Please sign in to comment.