aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tda8290.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tda8290.c')
-rw-r--r--drivers/media/video/tda8290.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/video/tda8290.c b/drivers/media/video/tda8290.c
index a849ded0000d..c606f3c38cf4 100644
--- a/drivers/media/video/tda8290.c
+++ b/drivers/media/video/tda8290.c
@@ -754,9 +754,8 @@ int tda829x_probe(struct tuner *t)
754 tuner_i2c_xfer_send(&i2c_props, soft_reset, 1); 754 tuner_i2c_xfer_send(&i2c_props, soft_reset, 1);
755 tuner_i2c_xfer_recv(&i2c_props, buf, PROBE_BUFFER_SIZE); 755 tuner_i2c_xfer_recv(&i2c_props, buf, PROBE_BUFFER_SIZE);
756 for (i = 1; i < PROBE_BUFFER_SIZE; i++) { 756 for (i = 1; i < PROBE_BUFFER_SIZE; i++) {
757 if (buf[i] == buf[0]) 757 if (buf[i] != buf[0])
758 continue; 758 break;
759 break;
760 } 759 }
761 760
762 /* all bytes are equal, not a tda829x - probably a tda9887 */ 761 /* all bytes are equal, not a tda829x - probably a tda9887 */