diff options
author | Michael Krufky <mkrufky@kernellabs.com> | 2010-03-12 03:00:55 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 17:46:29 (GMT) |
commit | 241b0f411193ebcfa86aa41a5ab4f22df2ef4c24 (patch) | |
tree | 479ae862f81077b3ddeb693341e0cba82fa76db2 /drivers | |
parent | 5de82faec811e1494966f196354954a6543fdc3a (diff) | |
download | linux-241b0f411193ebcfa86aa41a5ab4f22df2ef4c24.tar.xz |
V4L/DVB: lgdt3305: re-write lgdt3304 ifbw hack in lgdt3305_rfagc_loop with FIXME
Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/dvb/frontends/lgdt3305.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/lgdt3305.c b/drivers/media/dvb/frontends/lgdt3305.c index 1c53766..910cd78 100644 --- a/drivers/media/dvb/frontends/lgdt3305.c +++ b/drivers/media/dvb/frontends/lgdt3305.c @@ -358,10 +358,12 @@ static int lgdt3305_rfagc_loop(struct lgdt3305_state *state, case QAM_256: agcdelay = 0x046b; rfbw = 0x8889; - if (state->cfg->demod_chip == LGDT3305) - ifbw = 0x8888; - else + /* FIXME: investigate optimal ifbw & rfbw values for the + * DT3304 and re-write this switch..case block */ + if (state->cfg->demod_chip == LGDT3304) ifbw = 0x6666; + else /* (state->cfg->demod_chip == LGDT3305) */ + ifbw = 0x8888; break; default: return -EINVAL; |