Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a286097 authored by Manu Abraham's avatar Manu Abraham Committed by Mauro Carvalho Chehab
Browse files

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

parent 40e8ce3d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
	}