diff options
-rw-r--r-- | drivers/media/dvb/frontends/stb0899_drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c index 0b1d94476638..0b2a908f1a5f 100644 --- a/drivers/media/dvb/frontends/stb0899_drv.c +++ b/drivers/media/dvb/frontends/stb0899_drv.c | |||
@@ -588,12 +588,12 @@ static int stb0899_postproc(struct stb0899_state *state, u8 ctl, int enable) | |||
588 | /* post process event */ | 588 | /* post process event */ |
589 | if (postproc) { | 589 | if (postproc) { |
590 | if (enable) { | 590 | if (enable) { |
591 | if (postproc[STB0899_POSTPROC_GPIO_POWER].level == STB0899_GPIOPULLUP) | 591 | if (postproc[ctl].level == STB0899_GPIOPULLUP) |
592 | stb0899_write_reg(state, postproc[ctl].gpio, 0x02); | 592 | stb0899_write_reg(state, postproc[ctl].gpio, 0x02); |
593 | else | 593 | else |
594 | stb0899_write_reg(state, postproc[ctl].gpio, 0x82); | 594 | stb0899_write_reg(state, postproc[ctl].gpio, 0x82); |
595 | } else { | 595 | } else { |
596 | if (postproc[STB0899_POSTPROC_GPIO_POWER].level == STB0899_GPIOPULLUP) | 596 | if (postproc[ctl].level == STB0899_GPIOPULLUP) |
597 | stb0899_write_reg(state, postproc[ctl].gpio, 0x82); | 597 | stb0899_write_reg(state, postproc[ctl].gpio, 0x82); |
598 | else | 598 | else |
599 | stb0899_write_reg(state, postproc[ctl].gpio, 0x02); | 599 | stb0899_write_reg(state, postproc[ctl].gpio, 0x02); |