diff options
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/dvb/frontends/lgdt3302.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/lgdt3302.c b/linux/drivers/media/dvb/frontends/lgdt3302.c index 872cd1208..2eea03d21 100644 --- a/linux/drivers/media/dvb/frontends/lgdt3302.c +++ b/linux/drivers/media/dvb/frontends/lgdt3302.c @@ -222,6 +222,8 @@ static int lgdt3302_set_parameters(struct dvb_frontend* fe, /* Change only if we are actually changing the modulation */ if (state->current_modulation != param->u.vsb.modulation) { + int value; + switch(param->u.vsb.modulation) { case VSB_8: dprintk("%s: VSB_8 MODE\n", __FUNCTION__); @@ -276,7 +278,6 @@ static int lgdt3302_set_parameters(struct dvb_frontend* fe, vsb_freq_cfg, sizeof(vsb_freq_cfg)); /* Set the value of 'INLVTHD' register 0x2a/0x2c to value from 'IFACC' register 0x39/0x3b -1 */ - int value; i2c_selectreadbytes(state, AGC_RFIF_ACC0, &agc_delay_cfg[1], 3); value = ((agc_delay_cfg[1] & 0x0f) << 8) | agc_delay_cfg[3]; |