aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2010-03-21 11:48:47 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-06 19:20:51 -0300
commit5dd92c1ff1f85b1a4dceba9caa0fda85835ccc4b (patch)
tree3bcef27b0f384e19069d6f25a488fc66f16f9ca6 /drivers/media
parentV4L/DVB: saa7146: fix regression of the av7110/budget-av driver (diff)
downloadlinux-dev-5dd92c1ff1f85b1a4dceba9caa0fda85835ccc4b.tar.xz
linux-dev-5dd92c1ff1f85b1a4dceba9caa0fda85835ccc4b.zip
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 <o.endriss@gmx.de> Reviewed-by: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/stv090x.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c
index a3c07fe0e6c4..96972804f4ad 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");