diff options
author | Manu Abraham <manu@linuxtv.org> | 2009-01-27 23:09:12 +0400 |
---|---|---|
committer | Manu Abraham <manu@linuxtv.org> | 2009-01-27 23:09:12 +0400 |
commit | 711a3b562c4751c854fd271f44c6e5f432bc09d6 (patch) | |
tree | 75057b2cf680da662c25df688a5a076875f7ff09 /linux/drivers/media/dvb | |
parent | b7deb66fda3accee36c079e200d1773c5e0fcc67 (diff) | |
download | mediapointer-dvb-s2-711a3b562c4751c854fd271f44c6e5f432bc09d6.tar.gz mediapointer-dvb-s2-711a3b562c4751c854fd271f44c6e5f432bc09d6.tar.bz2 |
STB6100 init fix, the call to stb6100_set_bandwidth needs an argument
in Hz not kHz, and a comment incorrectly says MHz instead of Hz. I
don't know if this caused real problems anywhere
From: Hans Werner <HWerner4@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stb6100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb6100.c b/linux/drivers/media/dvb/frontends/stb6100.c index 29bc07b86..2b1af36b8 100644 --- a/linux/drivers/media/dvb/frontends/stb6100.c +++ b/linux/drivers/media/dvb/frontends/stb6100.c @@ -434,11 +434,11 @@ static int stb6100_init(struct dvb_frontend *fe) status->refclock = 27000000; /* Hz */ status->iqsense = 1; status->bandwidth = 36000; /* kHz */ - state->bandwidth = status->bandwidth * 1000; /* MHz */ + state->bandwidth = status->bandwidth * 1000; /* Hz */ state->reference = status->refclock / 1000; /* kHz */ /* Set default bandwidth. */ - return stb6100_set_bandwidth(fe, status->bandwidth); + return stb6100_set_bandwidth(fe, state->bandwidth); } static int stb6100_get_state(struct dvb_frontend *fe, |