Commit 241b0f41 authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

V4L/DVB: lgdt3305: re-write lgdt3304 ifbw hack in lgdt3305_rfagc_loop with FIXME

Signed-off-by: default avatarMichael Krufky <mkrufky@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 5de82fae
...@@ -358,10 +358,12 @@ static int lgdt3305_rfagc_loop(struct lgdt3305_state *state, ...@@ -358,10 +358,12 @@ static int lgdt3305_rfagc_loop(struct lgdt3305_state *state,
case QAM_256: case QAM_256:
agcdelay = 0x046b; agcdelay = 0x046b;
rfbw = 0x8889; rfbw = 0x8889;
if (state->cfg->demod_chip == LGDT3305) /* FIXME: investigate optimal ifbw & rfbw values for the
ifbw = 0x8888; * DT3304 and re-write this switch..case block */
else if (state->cfg->demod_chip == LGDT3304)
ifbw = 0x6666; ifbw = 0x6666;
else /* (state->cfg->demod_chip == LGDT3305) */
ifbw = 0x8888;
break; break;
default: default:
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment