summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2007-10-31 03:05:59 +0400
committerManu Abraham <manu@linuxtv.org>2007-10-31 03:05:59 +0400
commit3855025dc4f81e754a1b7f1dd740cb591e033e68 (patch)
treeef5a52f1ea408e55efab8a1e75b3bd9c4cb3468b /linux
parent9faac02992fa789a4b815fbb53df9b6fafb41284 (diff)
downloadmediapointer-dvb-s2-3855025dc4f81e754a1b7f1dd740cb591e033e68.tar.gz
mediapointer-dvb-s2-3855025dc4f81e754a1b7f1dd740cb591e033e68.tar.bz2
Fix a typo in the previous commit
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux')
-rw-r--r--linux/drivers/media/dvb/frontends/stb0899_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb0899_drv.c b/linux/drivers/media/dvb/frontends/stb0899_drv.c
index 2d3fd7870..241ce282b 100644
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c
@@ -588,12 +588,12 @@ static int stb0899_postproc(struct stb0899_state *state, u8 ctl, int enable)
/* post process event */
if (postproc) {
if (enable) {
- if (postproc[STB0899_POSTPROC_GPIO_POWER].level == STB0899_GPIOPULLUP)
+ if (postproc[ctl].level == STB0899_GPIOPULLUP)
stb0899_write_reg(state, postproc[ctl].gpio, 0x02);
else
stb0899_write_reg(state, postproc[ctl].gpio, 0x82);
} else {
- if (postproc[STB0899_POSTPROC_GPIO_POWER].level == STB0899_GPIOPULLUP)
+ if (postproc[ctl].level == STB0899_GPIOPULLUP)
stb0899_write_reg(state, postproc[ctl].gpio, 0x82);
else
stb0899_write_reg(state, postproc[ctl].gpio, 0x02);