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

Commit 3ac510e6 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

V4L/DVB (6858): Fix offset for ATSC



ATSC works with offset=0

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 5e3c5967
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -873,7 +873,7 @@ static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */,
	 */
	if (new_mode == T_ANALOG_TV) {
		rc = send_seq(priv, {0x00, 0x00});
	} else {
	} else if (!(priv->cur_fw.type & ATSC)) {
		offset = 2750000;
		/*
		 * We must adjust the offset by 500kHz in two cases in order