diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-22 13:46:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:54 -0400 |
commit | 14c74b23b6b5a8259c25c8f825e3036f595518d0 (patch) | |
tree | b5484ee371548bf849c490040dffadd30be7a80b /drivers/media/dvb/frontends/tda18271-fe.c | |
parent | ae07d042f626caa13d5a8a15ac7297b2873f7622 (diff) |
V4L/DVB (7431): tda18271: allow device-specific configuration of IF level
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/tda18271-fe.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda18271-fe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda18271-fe.c b/drivers/media/dvb/frontends/tda18271-fe.c index 2bbf277f5cf..b5a422ef4ff 100644 --- a/drivers/media/dvb/frontends/tda18271-fe.c +++ b/drivers/media/dvb/frontends/tda18271-fe.c | |||
@@ -55,13 +55,13 @@ static int tda18271_channel_configuration(struct dvb_frontend *fe, | |||
55 | 55 | ||
56 | /* update IF output level & IF notch frequency */ | 56 | /* update IF output level & IF notch frequency */ |
57 | regs[R_EP4] &= ~0x1c; /* clear if level bits */ | 57 | regs[R_EP4] &= ~0x1c; /* clear if level bits */ |
58 | regs[R_EP4] |= (map->if_lvl << 2); | ||
58 | 59 | ||
59 | switch (priv->mode) { | 60 | switch (priv->mode) { |
60 | case TDA18271_ANALOG: | 61 | case TDA18271_ANALOG: |
61 | regs[R_MPD] &= ~0x80; /* IF notch = 0 */ | 62 | regs[R_MPD] &= ~0x80; /* IF notch = 0 */ |
62 | break; | 63 | break; |
63 | case TDA18271_DIGITAL: | 64 | case TDA18271_DIGITAL: |
64 | regs[R_EP4] |= 0x04; /* IF level = 1 */ | ||
65 | regs[R_MPD] |= 0x80; /* IF notch = 1 */ | 65 | regs[R_MPD] |= 0x80; /* IF notch = 1 */ |
66 | break; | 66 | break; |
67 | } | 67 | } |