diff options
-rw-r--r-- | drivers/media/video/tda8290.c | 9 | ||||
-rw-r--r-- | drivers/media/video/tda8290.h | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c index 2e1d9b663a91..bb62d5629af2 100644 --- a/drivers/media/video/tda8290.c +++ b/drivers/media/video/tda8290.c | |||
@@ -688,10 +688,17 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe, | |||
688 | sizeof(struct analog_demod_ops)); | 688 | sizeof(struct analog_demod_ops)); |
689 | } | 689 | } |
690 | 690 | ||
691 | if (tda829x_find_tuner(fe) < 0) | 691 | if ((!(cfg) || (TDA829X_PROBE_TUNER == cfg->probe_tuner)) && |
692 | (tda829x_find_tuner(fe) < 0)) | ||
692 | goto fail; | 693 | goto fail; |
693 | 694 | ||
694 | switch (priv->ver) { | 695 | switch (priv->ver) { |
696 | case TDA8290: | ||
697 | name = "tda8290"; | ||
698 | break; | ||
699 | case TDA8295: | ||
700 | name = "tda8295"; | ||
701 | break; | ||
695 | case TDA8290 | TDA8275: | 702 | case TDA8290 | TDA8275: |
696 | name = "tda8290+75"; | 703 | name = "tda8290+75"; |
697 | break; | 704 | break; |
diff --git a/drivers/media/video/tda8290.h b/drivers/media/video/tda8290.h index 7bce03183d08..dc8ef310b7b2 100644 --- a/drivers/media/video/tda8290.h +++ b/drivers/media/video/tda8290.h | |||
@@ -23,6 +23,10 @@ | |||
23 | struct tda829x_config { | 23 | struct tda829x_config { |
24 | unsigned int *lna_cfg; | 24 | unsigned int *lna_cfg; |
25 | int (*tuner_callback) (void *dev, int command, int arg); | 25 | int (*tuner_callback) (void *dev, int command, int arg); |
26 | |||
27 | unsigned int probe_tuner:1; | ||
28 | #define TDA829X_PROBE_TUNER 0 | ||
29 | #define TDA829X_DONT_PROBE 1 | ||
26 | }; | 30 | }; |
27 | 31 | ||
28 | #if defined(CONFIG_TUNER_TDA8290) || (defined(CONFIG_TUNER_TDA8290_MODULE) && defined(MODULE)) | 32 | #if defined(CONFIG_TUNER_TDA8290) || (defined(CONFIG_TUNER_TDA8290_MODULE) && defined(MODULE)) |