forked from Minki/linux
V4L/DVB (7429): tda18271: write EP3 thru MD3 for image rejection low band initialization
Both the tda18271 c1 and c2 parts only need EP3 through MD3 to be written for the image rejection calibration's low band initialization. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
0c3ea9941c
commit
e83ebb64ef
@ -355,14 +355,7 @@ int tda18271_init_regs(struct dvb_frontend *fe)
|
|||||||
regs[R_MD2] = 0x08;
|
regs[R_MD2] = 0x08;
|
||||||
regs[R_MD3] = 0x00;
|
regs[R_MD3] = 0x00;
|
||||||
|
|
||||||
switch (priv->id) {
|
tda18271_write_regs(fe, R_EP3, 11);
|
||||||
case TDA18271HDC1:
|
|
||||||
tda18271_write_regs(fe, R_EP3, 11);
|
|
||||||
break;
|
|
||||||
case TDA18271HDC2:
|
|
||||||
tda18271_write_regs(fe, R_EP3, 12);
|
|
||||||
break;
|
|
||||||
};
|
|
||||||
|
|
||||||
if ((priv->id) == TDA18271HDC2) {
|
if ((priv->id) == TDA18271HDC2) {
|
||||||
/* main pll cp source on */
|
/* main pll cp source on */
|
||||||
@ -404,6 +397,7 @@ int tda18271_init_regs(struct dvb_frontend *fe)
|
|||||||
tda18271_write_regs(fe, R_EP3, 11);
|
tda18271_write_regs(fe, R_EP3, 11);
|
||||||
msleep(5); /* pll locking */
|
msleep(5); /* pll locking */
|
||||||
|
|
||||||
|
/* launch detector */
|
||||||
tda18271_write_regs(fe, R_EP1, 1);
|
tda18271_write_regs(fe, R_EP1, 1);
|
||||||
msleep(5); /* wanted mid measurement */
|
msleep(5); /* wanted mid measurement */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user