Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330977
b: refs/heads/master
c: 70cf058
h: refs/heads/master
i:
  330975: 5820be8
v: v3
  • Loading branch information
Antti Palosaari authored and Mauro Carvalho Chehab committed Sep 15, 2012
1 parent 08d503b commit 6322de0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 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: 9d56f5d1ca68510772acb7c4a5df5a69119bf823
refs/heads/master: 70cf058aa900394abba126d5950712e5c107768f
23 changes: 0 additions & 23 deletions trunk/drivers/media/tuners/qt1010.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,27 +54,6 @@ static int qt1010_writereg(struct qt1010_priv *priv, u8 reg, u8 val)
return 0;
}

/* dump all registers */
static void qt1010_dump_regs(struct qt1010_priv *priv)
{
u8 reg, val;

for (reg = 0; ; reg++) {
if (reg % 16 == 0) {
if (reg)
printk(KERN_CONT "\n");
printk(KERN_DEBUG "%02x:", reg);
}
if (qt1010_readreg(priv, reg, &val) == 0)
printk(KERN_CONT " %02x", val);
else
printk(KERN_CONT " --");
if (reg == 0x2f)
break;
}
printk(KERN_CONT "\n");
}

static int qt1010_set_params(struct dvb_frontend *fe)
{
struct dtv_frontend_properties *c = &fe->dtv_property_cache;
Expand Down Expand Up @@ -240,8 +219,6 @@ static int qt1010_set_params(struct dvb_frontend *fe)
if (err) return err;
}

qt1010_dump_regs(priv);

if (fe->ops.i2c_gate_ctrl)
fe->ops.i2c_gate_ctrl(fe, 0); /* close i2c_gate */

Expand Down

0 comments on commit 6322de0

Please sign in to comment.