aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/tda8290.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/tuners/tda8290.c')
-rw-r--r--drivers/media/common/tuners/tda8290.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tda8290.c b/drivers/media/common/tuners/tda8290.c
index 5f889c1b91d0..11ea4e0f9c04 100644
--- a/drivers/media/common/tuners/tda8290.c
+++ b/drivers/media/common/tuners/tda8290.c
@@ -755,8 +755,11 @@ struct dvb_frontend *tda829x_attach(struct dvb_frontend *fe,
755 } 755 }
756 756
757 if ((!(cfg) || (TDA829X_PROBE_TUNER == cfg->probe_tuner)) && 757 if ((!(cfg) || (TDA829X_PROBE_TUNER == cfg->probe_tuner)) &&
758 (tda829x_find_tuner(fe) < 0)) 758 (tda829x_find_tuner(fe) < 0)) {
759 memset(&fe->ops.analog_ops, 0, sizeof(struct analog_demod_ops));
760
759 goto fail; 761 goto fail;
762 }
760 763
761 switch (priv->ver) { 764 switch (priv->ver) {
762 case TDA8290: 765 case TDA8290: