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

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

V4L/DVB (4175): Fix a bug in tuner detection

parent de1e6ec9
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -1103,10 +1103,17 @@ static int dst_get_device_id(struct dst_state *state)
//			if (p_dst_type->tuner_type != TUNER_TYPE_MULTI) {
			/*	Multiple tuners		*/
			if (p_dst_type->tuner_type & TUNER_TYPE_MULTI) {
				switch (use_dst_type) {
				case DST_TYPE_IS_SAT:
					/*	STV0299 check	*/
				if (dst_check_stv0299(state) < 0)
					if (dst_check_stv0299(state) < 0) {
						dprintk(verbose, DST_ERROR, 1, "Unsupported");
				/*	MB86A15 check	*/
						state->tuner_type = TUNER_TYPE_MB86A15;
					}
					break;
				default:
					break;
				}
				if (dst_check_mb86a15(state) < 0)
					dprintk(verbose, DST_ERROR, 1, "Unsupported");
			/*	Single tuner		*/