Browse Source

V4L/DVB (6890): tda18271: fix typo in RF tracking filter calibration

We want to set bits 1 & 2 on easy programming byte 4, not extended byte 4.

Thanks to David Wong for pointing this out.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Cc: David Wong <davidtlwong@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Michael Krufky 17 năm trước cách đây
mục cha
commit
26501a703d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      drivers/media/dvb/frontends/tda18271-fe.c

+ 1 - 1
drivers/media/dvb/frontends/tda18271-fe.c

@@ -406,7 +406,7 @@ static int tda18271_tune(struct dvb_frontend *fe,
 	tda18271_write_regs(fe, R_EB20, 1);
 
 	/* set CAL mode to RF tracking filter calibration */
-	regs[R_EB4]  |= 0x03;
+	regs[R_EP4]  |= 0x03;
 
 	/* calculate CAL PLL */