diff options
Diffstat (limited to 'drivers/media/video/tda8290.c')
-rw-r--r-- | drivers/media/video/tda8290.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c index 54d261a2f25a..eab530708a49 100644 --- a/drivers/media/video/tda8290.c +++ b/drivers/media/video/tda8290.c | |||
@@ -509,6 +509,10 @@ static void tda829x_release(struct dvb_frontend *fe) | |||
509 | fe->analog_demod_priv = NULL; | 509 | fe->analog_demod_priv = NULL; |
510 | } | 510 | } |
511 | 511 | ||
512 | static struct tda18271_config tda829x_tda18271_config = { | ||
513 | .gate = TDA18271_GATE_ANALOG, | ||
514 | }; | ||
515 | |||
512 | static int tda829x_find_tuner(struct dvb_frontend *fe) | 516 | static int tda829x_find_tuner(struct dvb_frontend *fe) |
513 | { | 517 | { |
514 | struct tda8290_priv *priv = fe->analog_demod_priv; | 518 | struct tda8290_priv *priv = fe->analog_demod_priv; |
@@ -574,7 +578,7 @@ static int tda829x_find_tuner(struct dvb_frontend *fe) | |||
574 | priv->ver |= TDA18271; | 578 | priv->ver |= TDA18271; |
575 | tda18271_attach(fe, priv->tda827x_addr, | 579 | tda18271_attach(fe, priv->tda827x_addr, |
576 | priv->i2c_props.adap, | 580 | priv->i2c_props.adap, |
577 | TDA18271_GATE_ANALOG); | 581 | &tda829x_tda18271_config); |
578 | } else { | 582 | } else { |
579 | if ((data & 0x3c) == 0) | 583 | if ((data & 0x3c) == 0) |
580 | priv->ver |= TDA8275; | 584 | priv->ver |= TDA8275; |