diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-28 01:47:05 +0100 |
---|---|---|
committer | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-28 01:47:05 +0100 |
commit | ab12813a48c3dbc4f0d9f2b3e93e7a5465744f9c (patch) | |
tree | 5900abd2a636033c3d56115cdaaefbfa314cf63e /linux/drivers/media/dvb/frontends/stv0299.c | |
parent | a8030bb8f293d1eba3527eba4f91543aa9a48a0d (diff) | |
download | mediapointer-dvb-s2-ab12813a48c3dbc4f0d9f2b3e93e7a5465744f9c.tar.gz mediapointer-dvb-s2-ab12813a48c3dbc4f0d9f2b3e93e7a5465744f9c.tar.bz2 |
Add missing pll gate control calls
From: Andrew de Quincey <adq_dvb@lidskialf.net>
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>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stv0299.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0299.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c index 5a8131023..e91bb5842 100644 --- a/linux/drivers/media/dvb/frontends/stv0299.c +++ b/linux/drivers/media/dvb/frontends/stv0299.c @@ -604,10 +604,12 @@ static int stv0299_i2c_gate_ctrl(struct dvb_frontend* fe, int enable) struct stv0299_state* state = fe->demodulator_priv; if (enable) { - return stv0299_writeregI(state, 0x05, 0xb5); + stv0299_writeregI(state, 0x05, 0xb5); } else { - return stv0299_writeregI(state, 0x05, 0x35); + stv0299_writeregI(state, 0x05, 0x35); } + udelay(1); + return 0; } static int stv0299_get_tune_settings(struct dvb_frontend* fe, struct dvb_frontend_tune_settings* fesettings) |