diff options
author | Andrew de Quincy <devnull@localhost> | 2005-11-23 20:43:17 +0000 |
---|---|---|
committer | Andrew de Quincy <devnull@localhost> | 2005-11-23 20:43:17 +0000 |
commit | 3533971b62cf14e509a7b923f9a1a7a6a4161e9a (patch) | |
tree | 0ade793b27eb0207a3e31d16fb2fa5fa94f92617 /linux/drivers/media/dvb/frontends/stv0299.c | |
parent | 234625a3667df90a0baf03228e839bb4032fcf5b (diff) | |
download | mediapointer-dvb-s2-3533971b62cf14e509a7b923f9a1a7a6a4161e9a.tar.gz mediapointer-dvb-s2-3533971b62cf14e509a7b923f9a1a7a6a4161e9a.tar.bz2 |
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Port code for SU1278/SH2 (TUA6100) from pre-refactored code
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stv0299.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0299.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c index 29c48665e..645576a93 100644 --- a/linux/drivers/media/dvb/frontends/stv0299.c +++ b/linux/drivers/media/dvb/frontends/stv0299.c @@ -131,6 +131,13 @@ static int stv0299_readregs (struct stv0299_state* state, u8 reg1, u8 *b, u8 len return ret == 2 ? 0 : ret; } +int stv0299_enable_plli2c (struct dvb_frontend* fe) +{ + struct stv0299_state* state = fe->demodulator_priv; + + return stv0299_writeregI(state, 0x05, 0xb5); /* enable i2c repeater on stv0299 */ +} + static int stv0299_set_FEC (struct stv0299_state* state, fe_code_rate_t fec) { dprintk ("%s\n", __FUNCTION__); @@ -717,5 +724,6 @@ MODULE_AUTHOR("Ralph Metzler, Holger Waechtler, Peter Schildmann, Felix Domke, " "Andreas Oberritter, Andrew de Quincey, Kenneth Aafløy"); MODULE_LICENSE("GPL"); +EXPORT_SYMBOL(stv0299_enable_plli2c); EXPORT_SYMBOL(stv0299_writereg); EXPORT_SYMBOL(stv0299_attach); |