提交 9a286097 编写于 作者: M Manu Abraham 提交者: Mauro Carvalho Chehab

V4L/DVB (9458): Bugfix: gate control needs to be handled

Signed-off-by: NManu Abraham <manu@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 40e8ce3d
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册