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

Commit eef5764d authored by Johannes Stezenbach's avatar Johannes Stezenbach Committed by Linus Torvalds
Browse files

[PATCH] dvb: ttpci: budget-av / tu1216 fix for QAM128



Fix for QAM128 in VHF band suggested by Timo Helki.

Signed-off-by: default avatarJohannes Stezenbach <js@linuxtv.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent c3d7b5ae
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -570,9 +570,9 @@ static int philips_cu1216_pll_set(struct dvb_frontend *fe, struct dvb_frontend_p

	buf[0] = (div >> 8) & 0x7f;
	buf[1] = div & 0xff;
	buf[2] = 0x8e;
	buf[3] = (params->frequency < 174500000 ? 0xa1 :
		  params->frequency < 454000000 ? 0x92 : 0x34);
	buf[2] = 0x86;
	buf[3] = (params->frequency < 150000000 ? 0x01 :
		  params->frequency < 445000000 ? 0x02 : 0x04);

	if (i2c_transfer(&budget->i2c_adap, &msg, 1) != 1)
		return -EIO;