diff options
Diffstat (limited to 'drivers/media/common/tuners/tuner-simple.c')
-rw-r--r-- | drivers/media/common/tuners/tuner-simple.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tuner-simple.c b/drivers/media/common/tuners/tuner-simple.c index fb3f3b3adaba..1a21191566f5 100644 --- a/drivers/media/common/tuners/tuner-simple.c +++ b/drivers/media/common/tuners/tuner-simple.c | |||
@@ -1059,7 +1059,12 @@ struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe, | |||
1059 | memcpy(&fe->ops.tuner_ops, &simple_tuner_ops, | 1059 | memcpy(&fe->ops.tuner_ops, &simple_tuner_ops, |
1060 | sizeof(struct dvb_tuner_ops)); | 1060 | sizeof(struct dvb_tuner_ops)); |
1061 | 1061 | ||
1062 | tuner_info("type set to %d (%s)\n", type, priv->tun->name); | 1062 | if (type != priv->type) |
1063 | tuner_warn("couldn't set type to %d. Using %d (%s) instead\n", | ||
1064 | type, priv->type, priv->tun->name); | ||
1065 | else | ||
1066 | tuner_info("type set to %d (%s)\n", | ||
1067 | priv->type, priv->tun->name); | ||
1063 | 1068 | ||
1064 | if ((debug) || ((atv_input[priv->nr] > 0) || | 1069 | if ((debug) || ((atv_input[priv->nr] > 0) || |
1065 | (dtv_input[priv->nr] > 0))) { | 1070 | (dtv_input[priv->nr] > 0))) { |