Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 367190
b: refs/heads/master
c: 619ab8f
h: refs/heads/master
v: v3
  • Loading branch information
Fengguang Wu authored and Mauro Carvalho Chehab committed Apr 25, 2013
1 parent 88abe88 commit 9b82bcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: ef0c87001c50ade70183b5cccbf573ef28320965
refs/heads/master: 619ab8f611e269e12c956361a38a4206cef9155d
5 changes: 1 addition & 4 deletions trunk/drivers/media/tuners/r820t.c
Original file line number Diff line number Diff line change
Expand Up @@ -1854,15 +1854,12 @@ static int r820t_imr(struct r820t_priv *priv, unsigned imr_mem, bool im_flag)
else
ring_ref = priv->cfg->xtal;

n_ring = 15;
for (n = 0; n < 16; n++) {
if ((16 + n) * 8 * ring_ref >= 3100000) {
n_ring = n;
break;
}

/* n_ring not found */
if (n == 15)
n_ring = n;
}

reg18 = r820t_read_cache_reg(priv, 0x18);
Expand Down

0 comments on commit 9b82bcb

Please sign in to comment.