Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76653
b: refs/heads/master
c: 7e946c8
h: refs/heads/master
i:
  76651: 38a4d4c
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent d866f53 commit c0ce920
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 994fc28b6cd087cf6ef8d3ebd4eeef97c8194e4e
refs/heads/master: 7e946c8a4242e3ed944cececddd3f2294299ed65
6 changes: 3 additions & 3 deletions trunk/drivers/media/dvb/frontends/tda18271-fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ static int tda18271_tune(struct dvb_frontend *fe,
regs[R_CPD] = pd;

div = ((d * (N / 1000)) << 7) / 125;
regs[R_CD1] = 0xff & (div >> 16);
regs[R_CD1] = 0x7f & (div >> 16);
regs[R_CD2] = 0xff & (div >> 8);
regs[R_CD3] = 0xff & div;

Expand Down Expand Up @@ -453,7 +453,7 @@ static int tda18271_tune(struct dvb_frontend *fe,
}

div = ((d * (N / 1000)) << 7) / 125;
regs[R_MD1] = 0xff & (div >> 16);
regs[R_MD1] = 0x7f & (div >> 16);
regs[R_MD2] = 0xff & (div >> 8);
regs[R_MD3] = 0xff & div;

Expand Down Expand Up @@ -567,7 +567,7 @@ static int tda18271_tune(struct dvb_frontend *fe,
}

div = ((d * (N / 1000)) << 7) / 125;
regs[R_MD1] = 0xff & (div >> 16);
regs[R_MD1] = 0x7f & (div >> 16);
regs[R_MD2] = 0xff & (div >> 8);
regs[R_MD3] = 0xff & div;

Expand Down

0 comments on commit c0ce920

Please sign in to comment.