diff options
author | Manu Abraham <manu@linuxtv.org> | 2008-02-24 01:02:45 +0400 |
---|---|---|
committer | Manu Abraham <manu@linuxtv.org> | 2008-02-24 01:02:45 +0400 |
commit | 86f5d7b740b3e8d7fbfd50f2089ad20de2ed8787 (patch) | |
tree | 7692e5d6ea5eaf39e920b873971dfa55a4c7c074 | |
parent | a52af51ed4b377cab3886bb48864a036a2b0081c (diff) | |
download | mediapointer-dvb-s2-86f5d7b740b3e8d7fbfd50f2089ad20de2ed8787.tar.gz mediapointer-dvb-s2-86f5d7b740b3e8d7fbfd50f2089ad20de2ed8787.tar.bz2 |
Bugfix: gate control needs to be handled
From: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
-rw-r--r-- | linux/drivers/media/dvb/frontends/stb0899_algo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb0899_algo.c b/linux/drivers/media/dvb/frontends/stb0899_algo.c index e144f3dc2..1fea78e9f 100644 --- a/linux/drivers/media/dvb/frontends/stb0899_algo.c +++ b/linux/drivers/media/dvb/frontends/stb0899_algo.c @@ -146,7 +146,9 @@ static void stb0899_first_subrange(struct stb0899_state *state) u32 bandwidth = 0; if (config->tuner_get_bandwidth) { + stb0899_i2c_gate_ctrl(&state->frontend, 1); config->tuner_get_bandwidth(&state->frontend, &bandwidth); + stb0899_i2c_gate_ctrl(&state->frontend, 0); range = bandwidth - stb0899_carr_width(state) / 2; } |