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

Commit 5dd92c1f authored by Oliver Endriss's avatar Oliver Endriss Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB: ngene: Workaround for stuck DiSEqC pin



Send one DiSEqC byte to make sure that the pin is set to low level.

Signed-off-by: default avatarOliver Endriss <o.endriss@gmx.de>
Reviewed-by: default avatarManu Abraham <abraham.manu@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 03b1930e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -4470,6 +4470,10 @@ static int stv090x_setup(struct dvb_frontend *fe)
	if (stv090x_write_reg(state, STV090x_TSTRES0, 0x00) < 0)
		goto err;

	/* workaround for stuck DiSEqC output */
	if (config->diseqc_envelope_mode)
		stv090x_send_diseqc_burst(fe, SEC_MINI_A);

	return 0;
err:
	dprintk(FE_ERROR, 1, "I/O error");