diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-05-04 16:39:44 +0100 |
---|---|---|
committer | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-05-04 16:39:44 +0100 |
commit | 304dfa39df9db3695e21bd87ac2c84819c889359 (patch) | |
tree | 9545d43b0455042617bc85d11e9b6a52ef83e5fa /linux/drivers/media/dvb/frontends/tda10021.c | |
parent | 113182f6138901821b513eaf424f403ae0d7aa23 (diff) | |
download | mediapointer-dvb-s2-304dfa39df9db3695e21bd87ac2c84819c889359.tar.gz mediapointer-dvb-s2-304dfa39df9db3695e21bd87ac2c84819c889359.tar.bz2 |
Fix CI interface on KNC1 DVBT and DVBC cards
From: Andrew de Quincey <adq_dvb@lidskialf.net>
These cards need special handling for CI - reinitialising the frontend
device when the CI module is reset. Additionally the tda10021 needs to be set
into a different transport stream mode when a CI module is present.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda10021.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/tda10021.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda10021.c b/linux/drivers/media/dvb/frontends/tda10021.c index e49cfa027..1950c72fd 100644 --- a/linux/drivers/media/dvb/frontends/tda10021.c +++ b/linux/drivers/media/dvb/frontends/tda10021.c @@ -90,6 +90,14 @@ static int tda10021_writereg (struct tda10021_state* state, u8 reg, u8 data) return (ret != 1) ? -EREMOTEIO : 0; } +int tda10021_write_byte(struct dvb_frontend* fe, int reg, int data) +{ + struct tda10021_state* state = fe->demodulator_priv; + + return tda10021_writereg(state, reg, data); +} +EXPORT_SYMBOL(tda10021_write_byte); + static u8 tda10021_readreg (struct tda10021_state* state, u8 reg) { u8 b0 [] = { reg }; |