diff options
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/tuner-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index b5dacde023ee..4ca686fad557 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c | |||
@@ -1165,7 +1165,7 @@ static int tuner_probe(struct i2c_client *client, | |||
1165 | /* If chip is not tda8290, don't register. | 1165 | /* If chip is not tda8290, don't register. |
1166 | since it can be tda9887*/ | 1166 | since it can be tda9887*/ |
1167 | if (tuner_symbol_probe(tda829x_probe, t->i2c->adapter, | 1167 | if (tuner_symbol_probe(tda829x_probe, t->i2c->adapter, |
1168 | t->i2c->addr) == 0) { | 1168 | t->i2c->addr) >= 0) { |
1169 | tuner_dbg("tda829x detected\n"); | 1169 | tuner_dbg("tda829x detected\n"); |
1170 | } else { | 1170 | } else { |
1171 | /* Default is being tda9887 */ | 1171 | /* Default is being tda9887 */ |
@@ -1179,7 +1179,7 @@ static int tuner_probe(struct i2c_client *client, | |||
1179 | case 0x60: | 1179 | case 0x60: |
1180 | if (tuner_symbol_probe(tea5767_autodetection, | 1180 | if (tuner_symbol_probe(tea5767_autodetection, |
1181 | t->i2c->adapter, t->i2c->addr) | 1181 | t->i2c->adapter, t->i2c->addr) |
1182 | != EINVAL) { | 1182 | >= 0) { |
1183 | t->type = TUNER_TEA5767; | 1183 | t->type = TUNER_TEA5767; |
1184 | t->mode_mask = T_RADIO; | 1184 | t->mode_mask = T_RADIO; |
1185 | t->mode = T_STANDBY; | 1185 | t->mode = T_STANDBY; |