V4L/DVB (9458): Bugfix: gate control needs to be handled
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
40e8ce3dba
commit
9a286097b0
|
@ -146,7 +146,9 @@ static void stb0899_first_subrange(struct stb0899_state *state)
|
||||||
u32 bandwidth = 0;
|
u32 bandwidth = 0;
|
||||||
|
|
||||||
if (config->tuner_get_bandwidth) {
|
if (config->tuner_get_bandwidth) {
|
||||||
|
stb0899_i2c_gate_ctrl(&state->frontend, 1);
|
||||||
config->tuner_get_bandwidth(&state->frontend, &bandwidth);
|
config->tuner_get_bandwidth(&state->frontend, &bandwidth);
|
||||||
|
stb0899_i2c_gate_ctrl(&state->frontend, 0);
|
||||||
range = bandwidth - stb0899_carr_width(state) / 2;
|
range = bandwidth - stb0899_carr_width(state) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue