diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-common.c b/drivers/media/dvb/frontends/tda18271-common.c index cebb6b90b7e0..bca570990613 100644 --- a/drivers/media/dvb/frontends/tda18271-common.c +++ b/drivers/media/dvb/frontends/tda18271-common.c | |||
@@ -171,7 +171,7 @@ int tda18271_read_extended(struct dvb_frontend *fe) | |||
171 | if (ret != 2) | 171 | if (ret != 2) |
172 | tda_err("ERROR: i2c_transfer returned: %d\n", ret); | 172 | tda_err("ERROR: i2c_transfer returned: %d\n", ret); |
173 | 173 | ||
174 | for (i = 0; i <= TDA18271_NUM_REGS; i++) { | 174 | for (i = 0; i < TDA18271_NUM_REGS; i++) { |
175 | /* don't update write-only registers */ | 175 | /* don't update write-only registers */ |
176 | if ((i != R_EB9) && | 176 | if ((i != R_EB9) && |
177 | (i != R_EB16) && | 177 | (i != R_EB16) && |