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

Commit e2c53c8d authored by Daniel Scheller's avatar Daniel Scheller Committed by Mauro Carvalho Chehab
Browse files

media: dvb-frontends/stv0910: add init values for TSINSDELM/L



The TSINSDEL registers were lacking initialisation in the stv0910 demod
driver. Initialise them (both demods) in the probe() function.

Picked up from the upstream dddvb-0.9.33 release.

Signed-off-by: default avatarDaniel Scheller <d.scheller@gmx.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 1b3d5f2a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1220,6 +1220,12 @@ static int probe(struct stv *state)
	write_reg(state, RSTV0910_P1_I2CRPT, state->i2crpt);
	write_reg(state, RSTV0910_P2_I2CRPT, state->i2crpt);

	write_reg(state, RSTV0910_P1_TSINSDELM, 0x17);
	write_reg(state, RSTV0910_P1_TSINSDELL, 0xff);

	write_reg(state, RSTV0910_P2_TSINSDELM, 0x17);
	write_reg(state, RSTV0910_P2_TSINSDELL, 0xff);

	init_diseqc(state);
	return 0;
}