Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Michael Krufky and committed by
Mauro Carvalho Chehab
241b0f41 5de82fae

+5 -3
+5 -3
drivers/media/dvb/frontends/lgdt3305.c
··· 358 358 case QAM_256: 359 359 agcdelay = 0x046b; 360 360 rfbw = 0x8889; 361 - if (state->cfg->demod_chip == LGDT3305) 362 - ifbw = 0x8888; 363 - else 361 + /* FIXME: investigate optimal ifbw & rfbw values for the 362 + * DT3304 and re-write this switch..case block */ 363 + if (state->cfg->demod_chip == LGDT3304) 364 364 ifbw = 0x6666; 365 + else /* (state->cfg->demod_chip == LGDT3305) */ 366 + ifbw = 0x8888; 365 367 break; 366 368 default: 367 369 return -EINVAL;