Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367195
b: refs/heads/master
c: 751dc8c
h: refs/heads/master
i:
  367193: cfe9d54
  367191: 9d4eab8
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Apr 25, 2013
1 parent 9d2cddd commit fde21e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 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: 13122f98c6479ddbfc308eb4253f84aaf4a2b45e
refs/heads/master: 751dc8c7fa706c6bafa0eeee88f22f59987157e0
10 changes: 3 additions & 7 deletions trunk/drivers/media/dvb-frontends/dib0090.c
Original file line number Diff line number Diff line change
Expand Up @@ -1540,13 +1540,9 @@ static void dib0090_set_EFUSE(struct dib0090_state *state)
if ((n >= POLY_MAX) || (n <= POLY_MIN))
n = 3;

if ((c >= CAP_VALUE_MIN) && (c <= CAP_VALUE_MAX)
&& (h >= HR_MIN) && (h <= HR_MAX)
&& (n >= POLY_MIN) && (n <= POLY_MAX)) {
dib0090_write_reg(state, 0x13, (h << 10));
e2 = (n << 11) | ((h >> 2)<<6) | c;
dib0090_write_reg(state, 0x2, e2); /* Load the BB_2 */
}
dib0090_write_reg(state, 0x13, (h << 10));
e2 = (n << 11) | ((h >> 2)<<6) | c;
dib0090_write_reg(state, 0x2, e2); /* Load the BB_2 */
}
}

Expand Down

0 comments on commit fde21e7

Please sign in to comment.