diff options
author | Hans Werner <HWerner4@gmx.de> | 2009-01-27 16:09:12 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-13 13:19:34 -0300 |
commit | 26f26fa8e3a0822aa43ee0a80bd0196fa2554c42 (patch) | |
tree | 70af19aa1cc70c8750d2d3c4b1dadb2a93e303c4 | |
parent | 1d06059c13fc64b67027334507f734ec0f2f4b6c (diff) | |
download | linux-3.10-26f26fa8e3a0822aa43ee0a80bd0196fa2554c42.tar.gz linux-3.10-26f26fa8e3a0822aa43ee0a80bd0196fa2554c42.tar.bz2 linux-3.10-26f26fa8e3a0822aa43ee0a80bd0196fa2554c42.zip |
V4L/DVB (10977): 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
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb/frontends/stb6100.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/stb6100.c b/drivers/media/dvb/frontends/stb6100.c index ff39275ab49..1ed5a7db4c5 100644 --- a/drivers/media/dvb/frontends/stb6100.c +++ b/drivers/media/dvb/frontends/stb6100.c @@ -427,11 +427,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, |