Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103856
b: refs/heads/master
c: 7dc1b88
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jul 20, 2008
1 parent 63a3103 commit b1d940a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fa1035997cbba4c348a88f8b94eb135222aaba12
refs/heads/master: 7dc1b8844eb3e0a91911f20736db87f4876e14b4
7 changes: 7 additions & 0 deletions trunk/drivers/media/common/tuners/xc5000.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ static int debug;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Turn on/off debugging (default:off).");

static int xc5000_load_fw_on_attach;
module_param_named(init_fw, xc5000_load_fw_on_attach, int, 0644);
MODULE_PARM_DESC(init_fw, "Load firmware during driver initialization.");

#define dprintk(level,fmt, arg...) if (debug >= level) \
printk(KERN_INFO "%s: " fmt, "xc5000", ## arg)

Expand Down Expand Up @@ -972,6 +976,9 @@ struct dvb_frontend *xc5000_attach(struct dvb_frontend *fe,

fe->tuner_priv = priv;

if (xc5000_load_fw_on_attach)
xc5000_init(fe);

return fe;
}
EXPORT_SYMBOL(xc5000_attach);
Expand Down

0 comments on commit b1d940a

Please sign in to comment.