diff options
author | Manu Abraham <manu@linuxtv.org> | 2007-09-25 02:51:32 +0400 |
---|---|---|
committer | Manu Abraham <manu@linuxtv.org> | 2007-09-25 02:51:32 +0400 |
commit | b6ce06755fc429ee83fd77affa9d57797ee209af (patch) | |
tree | df413c806177fba1873ebf06bb0b823a1c091852 /linux/drivers/media/dvb/frontends/stb0899_drv.c | |
parent | 683702b8e0927e4981224cd2e0a41ddbdcb222ce (diff) | |
download | mediapointer-dvb-s2-b6ce06755fc429ee83fd77affa9d57797ee209af.tar.gz mediapointer-dvb-s2-b6ce06755fc429ee83fd77affa9d57797ee209af.tar.bz2 |
TT S2 3200 shouldn't need Inversion ON and Inversion AUTO at the same time
This is a racy situation.
Inversion is default OFF on the TT S2 3200 hardware,
unlike the KNC1 where it is default Inverted
From: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stb0899_drv.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/stb0899_drv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb0899_drv.c b/linux/drivers/media/dvb/frontends/stb0899_drv.c index d83dac9b4..3078c04d9 100644 --- a/linux/drivers/media/dvb/frontends/stb0899_drv.c +++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c @@ -2011,17 +2011,19 @@ static struct dvb_frontend_ops stb0899_ops = { struct dvb_frontend *stb0899_attach(struct stb0899_config *config, struct i2c_adapter *i2c) { struct stb0899_state *state = NULL; + enum stb0899_inversion inversion; state = kzalloc(sizeof (struct stb0899_state), GFP_KERNEL); if (state == NULL) goto error; + inversion = config->inversion; state->verbose = verbose; state->config = config; state->i2c = i2c; state->frontend.ops = stb0899_ops; state->frontend.demodulator_priv = state; - state->internal.inversion = IQ_SWAP_AUTO; + state->internal.inversion = inversion; stb0899_wakeup(&state->frontend); if (stb0899_get_dev_id(state) == -ENODEV) { |