V4L/DVB (9386): FIX: Add in missing inversion (should be ideally in the config struct)
authorManu Abraham <abraham.manu@gmail.com>
Mon, 2 Jul 2007 12:48:50 +0000 (09:48 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:14 +0000 (17:53 -0200)
Thanks to Marco Schluessler <marco@lordzodiac.de> for pointing it out

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stb0899_drv.c

index b8beac7..598e334 100644 (file)
@@ -1891,6 +1891,7 @@ struct dvb_frontend *stb0899_attach(struct stb0899_config *config, struct i2c_ad
        state->i2c                              = i2c;
        state->frontend.ops                     = stb0899_ops;
        state->frontend.demodulator_priv        = state;
+       state->internal.inversion               = IQ_SWAP_AUTO;
 
        stb0899_wakeup(&state->frontend);
        if (stb0899_get_dev_id(state) == -ENODEV) {