diff options
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0299.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c index 12e45376f..bbe24fc47 100644 --- a/linux/drivers/media/dvb/frontends/stv0299.c +++ b/linux/drivers/media/dvb/frontends/stv0299.c @@ -456,7 +456,7 @@ static int stv0299_init (struct dvb_frontend* fe) dprintk("stv0299: init chip\n"); - for (i=0; state->config->inittab[i] != 0xff && state->config->inittab[i+1] != 0xff; i+=2) + for (i=0; !(state->config->inittab[i] == 0xff && state->config->inittab[i+1] == 0xff); i+=2) stv0299_writeregI(state, state->config->inittab[i], state->config->inittab[i+1]); if (state->config->pll_init) { |