aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/bsru6.h
diff options
context:
space:
mode:
authorAndrew de Quincey <adq_dvb@lidskialf.net>2006-05-22 09:31:40 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 00:59:52 -0400
commita9686e0d204e3faa544434c709ccb599f8165252 (patch)
tree5641cf2bd9a5c4e4f4fec7fd0214b207a5277f25 /drivers/media/dvb/frontends/bsru6.h
parentebfbc305bda90deadf73898493c707cce3b465e6 (diff)
V4L/DVB (3935): Add missing pll gate control calls
I'd missed some of these out, breaking the av7110 tuning. I then checked for more and added them in where necessary. They may not actually be necessary in all these locations, but if not, they'll simply have no effect. Add small delay to stv0299 pll gate control to fix tuning problems. Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/bsru6.h')
-rw-r--r--drivers/media/dvb/frontends/bsru6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/bsru6.h b/drivers/media/dvb/frontends/bsru6.h
index 5d13c5e4df64..5533512b04c6 100644
--- a/drivers/media/dvb/frontends/bsru6.h
+++ b/drivers/media/dvb/frontends/bsru6.h
@@ -120,6 +120,8 @@ static int alps_bsru6_tuner_set_params(struct dvb_frontend *fe, struct dvb_front
120 if (params->frequency > 1530000) 120 if (params->frequency > 1530000)
121 buf[3] = 0xc0; 121 buf[3] = 0xc0;
122 122
123 if (fe->ops->i2c_gate_ctrl)
124 fe->ops->i2c_gate_ctrl(fe, 1);
123 if (i2c_transfer(i2c, &msg, 1) != 1) 125 if (i2c_transfer(i2c, &msg, 1) != 1)
124 return -EIO; 126 return -EIO;
125 return 0; 127 return 0;