summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHartmut Hackmann <hartmut.hackmann@t-online.de>2007-04-27 17:31:15 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-04-27 20:43:37 +0200
commit11f65106adb25a9ef5b6d8911267b2365c97a759 (patch)
tree7c4f85f5f1cd8ffb2c9713fe1ae2582c33799e94
parentV4L/DVB (5319): Set tda827x to sleep mode after attach (diff)
downloadlinux-11f65106adb25a9ef5b6d8911267b2365c97a759.tar.xz
linux-11f65106adb25a9ef5b6d8911267b2365c97a759.zip
V4L/DVB (5320): Filled in limiting values in tda827x.c
The parameters for minimum and maximum frequency were missing. Also added mail addresses of the module authors. Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/dvb/frontends/tda827x.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/tda827x.c b/drivers/media/dvb/frontends/tda827x.c
index 1fa58c5dac0f..edf7a0a902ba 100644
--- a/drivers/media/dvb/frontends/tda827x.c
+++ b/drivers/media/dvb/frontends/tda827x.c
@@ -399,6 +399,9 @@ static int tda827x_init(struct dvb_frontend *fe)
static struct dvb_tuner_ops tda827xo_tuner_ops = {
.info = {
.name = "Philips TDA827X",
+ .frequency_min = 55000000,
+ .frequency_max = 860000000,
+ .frequency_step = 250000
},
.release = tda827x_release,
.init = tda827x_init,
@@ -411,6 +414,9 @@ static struct dvb_tuner_ops tda827xo_tuner_ops = {
static struct dvb_tuner_ops tda827xa_tuner_ops = {
.info = {
.name = "Philips TDA827XA",
+ .frequency_min = 44000000,
+ .frequency_max = 906000000,
+ .frequency_step = 62500
},
.release = tda827x_release,
.init = tda827x_init,
@@ -461,6 +467,8 @@ struct dvb_frontend *tda827x_attach(struct dvb_frontend *fe, int addr,
sb_msg[1] = 0x90;
}
fe->tuner_priv = priv;
+ if (fe->ops.i2c_gate_ctrl)
+ fe->ops.i2c_gate_ctrl(fe, 1);
i2c_transfer(i2c, &msg, 1);
return fe;
}
@@ -470,8 +478,8 @@ module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "Turn on/off frontend debugging (default:off).");
MODULE_DESCRIPTION("DVB TDA827x driver");
-MODULE_AUTHOR("Hartmut Hackmann");
-MODULE_AUTHOR("Michael Krufky");
+MODULE_AUTHOR("Hartmut Hackmann <hartmut.hackmann@t-online.de>");
+MODULE_AUTHOR("Michael Krufky <mkrufky@linuxtv.org>");
MODULE_LICENSE("GPL");
/*