diff options
author | Manu Abraham <manu@linuxtv.org> | 2007-09-22 01:08:01 +0400 |
---|---|---|
committer | Manu Abraham <manu@linuxtv.org> | 2007-09-22 01:08:01 +0400 |
commit | ac48a5323f19abd876980433fe5088fdfe1091ea (patch) | |
tree | 5b3ec7aa9835f7b0668420afa40a93caf7857d78 /linux | |
parent | a92b6bfd79738b662188f5cb1c39f8cb3deb9fd3 (diff) | |
download | mediapointer-dvb-s2-ac48a5323f19abd876980433fe5088fdfe1091ea.tar.gz mediapointer-dvb-s2-ac48a5323f19abd876980433fe5088fdfe1091ea.tar.bz2 |
Reference Clock is in kHz
From: Marko Schluessler <marco@lordzodiac.de>
Signed-off-by: Marko Schluessler <marco@lordzodiac.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stb6100.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb6100.c b/linux/drivers/media/dvb/frontends/stb6100.c index 1c404e6a2..c1dda87b8 100644 --- a/linux/drivers/media/dvb/frontends/stb6100.c +++ b/linux/drivers/media/dvb/frontends/stb6100.c @@ -541,11 +541,11 @@ struct dvb_frontend *stb6100_attach(struct dvb_frontend *fe, state->config = config; state->i2c = i2c; state->frontend = fe; - state->reference = config->refclock; + state->reference = config->refclock / 1000; /* kHz */ fe->tuner_priv = state; fe->ops.tuner_ops = stb6100_ops; - printk("%s: Attaching\n", __func__); + printk("%s: Attaching STB6100 \n", __func__); return fe; error: @@ -559,7 +559,6 @@ static int stb6100_release(struct dvb_frontend *fe) struct stb6100_state *state = fe->tuner_priv; fe->tuner_priv = NULL; - memset(&fe->ops.tuner_ops, 0, sizeof (fe->ops.tuner_ops)); kfree(state); return 0; |