diff options
Diffstat (limited to 'drivers/media/dvb/frontends/tda827x.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda827x.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/tda827x.c b/drivers/media/dvb/frontends/tda827x.c index 3190c8d0c17..967ac8b28ef 100644 --- a/drivers/media/dvb/frontends/tda827x.c +++ b/drivers/media/dvb/frontends/tda827x.c | |||
@@ -578,8 +578,7 @@ static void tda827xa_lna_gain(struct dvb_frontend *fe, int high, | |||
578 | else | 578 | else |
579 | arg = 0; | 579 | arg = 0; |
580 | if (priv->cfg->tuner_callback) | 580 | if (priv->cfg->tuner_callback) |
581 | priv->cfg->tuner_callback(priv->i2c_adap->algo_data, | 581 | priv->cfg->tuner_callback(priv, 1, arg); |
582 | 1, arg); | ||
583 | buf[1] = high ? 0 : 1; | 582 | buf[1] = high ? 0 : 1; |
584 | if (*priv->cfg->config == 2) | 583 | if (*priv->cfg->config == 2) |
585 | buf[1] = high ? 1 : 0; | 584 | buf[1] = high ? 1 : 0; |
@@ -587,8 +586,7 @@ static void tda827xa_lna_gain(struct dvb_frontend *fe, int high, | |||
587 | break; | 586 | break; |
588 | case 3: /* switch with GPIO of saa713x */ | 587 | case 3: /* switch with GPIO of saa713x */ |
589 | if (priv->cfg->tuner_callback) | 588 | if (priv->cfg->tuner_callback) |
590 | priv->cfg->tuner_callback(priv->i2c_adap->algo_data, | 589 | priv->cfg->tuner_callback(priv, 0, high); |
591 | 0, high); | ||
592 | break; | 590 | break; |
593 | } | 591 | } |
594 | } | 592 | } |