diff options
author | Igor M. Liplianin <liplianin@me.by> | 2011-02-25 16:41:24 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:32:27 -0400 |
commit | 0cb73639cfbdc9a074cbb7737d173f7a7381036d (patch) | |
tree | 80b3ec4ca6bb46a11e4506350a9e46f6a150fa88 /drivers/media/dvb/frontends | |
parent | dcc8a122230b1c65ee8ba83536fd53fcaf27884d (diff) |
[media] cx88: add support for TeVii S464 PCI card
The card uses ds3000 demod from Montage.
Signed-off-by: Igor M. Liplianin <liplianin@me.by>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r-- | drivers/media/dvb/frontends/ds3000.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/frontends/ds3000.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/ds3000.c b/drivers/media/dvb/frontends/ds3000.c index 2ae569989655..7f3d118287c4 100644 --- a/drivers/media/dvb/frontends/ds3000.c +++ b/drivers/media/dvb/frontends/ds3000.c | |||
@@ -982,6 +982,8 @@ static int ds3000_set_frontend(struct dvb_frontend *fe, | |||
982 | 982 | ||
983 | dprintk("%s() ", __func__); | 983 | dprintk("%s() ", __func__); |
984 | 984 | ||
985 | if (state->config->set_ts_params) | ||
986 | state->config->set_ts_params(fe, 0); | ||
985 | /* Tune */ | 987 | /* Tune */ |
986 | /* unknown */ | 988 | /* unknown */ |
987 | ds3000_tuner_writereg(state, 0x07, 0x02); | 989 | ds3000_tuner_writereg(state, 0x07, 0x02); |
diff --git a/drivers/media/dvb/frontends/ds3000.h b/drivers/media/dvb/frontends/ds3000.h index 00e4e95590e9..1b736888ea37 100644 --- a/drivers/media/dvb/frontends/ds3000.h +++ b/drivers/media/dvb/frontends/ds3000.h | |||
@@ -28,6 +28,8 @@ struct ds3000_config { | |||
28 | /* the demodulator's i2c address */ | 28 | /* the demodulator's i2c address */ |
29 | u8 demod_address; | 29 | u8 demod_address; |
30 | u8 ci_mode; | 30 | u8 ci_mode; |
31 | /* Set device param to start dma */ | ||
32 | int (*set_ts_params)(struct dvb_frontend *fe, int is_punctured); | ||
31 | }; | 33 | }; |
32 | 34 | ||
33 | #if defined(CONFIG_DVB_DS3000) || \ | 35 | #if defined(CONFIG_DVB_DS3000) || \ |