summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <devnull@localhost>2005-07-07 19:37:06 +0000
committerMauro Carvalho Chehab <devnull@localhost>2005-07-07 19:37:06 +0000
commit8079b4d3f382eb7745ec8a3fa4bfa54e696efc26 (patch)
tree65e34fe21e7110136b0bdf31af2f7764c07b9ae3 /linux/drivers
parentd0eda6ae0298738889330b4d3f95de93b6f064f7 (diff)
downloadmediapointer-dvb-s2-8079b4d3f382eb7745ec8a3fa4bfa54e696efc26.tar.gz
mediapointer-dvb-s2-8079b4d3f382eb7745ec8a3fa4bfa54e696efc26.tar.bz2
* tuner-core.c:
- Comment changed to express better when attach_inform is running - set_freq removed from set_mode. Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/tuner-core.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/media/video/tuner-core.c b/linux/drivers/media/video/tuner-core.c
index 8885ee603..9d1e13f67 100644
--- a/linux/drivers/media/video/tuner-core.c
+++ b/linux/drivers/media/video/tuner-core.c
@@ -1,5 +1,5 @@
/*
- * $Id: tuner-core.c,v 1.53 2005/07/07 03:02:55 mchehab Exp $
+ * $Id: tuner-core.c,v 1.54 2005/07/07 19:37:06 mchehab Exp $
*
* i2c tv tuner chip device driver
* core core, i.e. kernel interfaces, registering and so on
@@ -153,7 +153,7 @@ static void set_type(struct i2c_client *c, unsigned int type,
/* This code detects calls by card attach_inform */
if (NULL == t->i2c.dev.driver) {
- tuner_dbg ("tuner 0x%02x: called before i2c_client register by adapter's attach_inform\n", c->addr);
+ tuner_dbg ("tuner 0x%02x: called during i2c_client register by adapter's attach_inform\n", c->addr);
t->type=type;
return;
@@ -410,8 +410,6 @@ static inline int set_mode(struct i2c_client *client, struct tuner *t, int mode,
set_radio_freq(client, 87.5 * 16000);
}
return EINVAL;
- } else {
- set_freq (client, t->freq);
}
}
return 0;