diff options
author | Patrice Chotard <patrice.chotard@sfr.fr> | 2012-12-15 19:11:28 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-12-27 18:19:26 -0200 |
commit | e7c953d280cea9a79018ae36e2bc7cedc3678de3 (patch) | |
tree | 21bec213562df7ac2852d84f8d341a0a7d4a3bb7 /drivers/media/dvb-frontends | |
parent | f698957aeaf3a711c2aa630a845b43426c02f339 (diff) | |
download | linux-stable-e7c953d280cea9a79018ae36e2bc7cedc3678de3.tar.gz linux-stable-e7c953d280cea9a79018ae36e2bc7cedc3678de3.tar.bz2 linux-stable-e7c953d280cea9a79018ae36e2bc7cedc3678de3.zip |
[media] drxd: allow functional gate control after, attach
Previously, gate control didn't work until drxd_init()
execution. Migrate necessary set of commands in drxd_attach
to allow gate control to be used by tuner which are
accessible through i2c gate.
Reported-by: frederic.mantegazza@gbiloba.org
Signed-off-by: Patrice Chotard <patricechotard@free.fr>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r-- | drivers/media/dvb-frontends/drxd_hard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/drxd_hard.c b/drivers/media/dvb-frontends/drxd_hard.c index e71cc60851e7..487c53b69bf3 100644 --- a/drivers/media/dvb-frontends/drxd_hard.c +++ b/drivers/media/dvb-frontends/drxd_hard.c @@ -2980,6 +2980,10 @@ struct dvb_frontend *drxd_attach(const struct drxd_config *config, sizeof(struct dvb_frontend_ops)); state->frontend.demodulator_priv = state; ConfigureMPEGOutput(state, 0); + /* add few initialization to allow gate control */ + CDRXD(state, state->config.IF ? state->config.IF : 36000000); + InitHI(state); + return &state->frontend; error: |