From: Oliver Endriss Date: Sun, 21 Mar 2010 14:48:47 +0000 (-0300) Subject: V4L/DVB: ngene: Workaround for stuck DiSEqC pin X-Git-Tag: v2.6.34-rc7~10^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5dd92c1ff1f85b1a4dceba9caa0fda85835ccc4b;p=platform%2Fupstream%2Fkernel-adaptation-pc.git 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: Oliver Endriss Reviewed-by: Manu Abraham Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c index a3c07fe..9697280 100644 --- a/drivers/media/dvb/frontends/stv090x.c +++ b/drivers/media/dvb/frontends/stv090x.c @@ -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");