Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 285658
b: refs/heads/master
c: 0d3e6fe
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jan 5, 2012
1 parent 919d24e commit 5408044
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 79636fa2d8c6cd8d6d568814adcf0fb36eccc0fa
refs/heads/master: 0d3e6fe7cb1b80719dbacfbfb0f668e2971e8a5f
12 changes: 9 additions & 3 deletions trunk/drivers/media/dvb/frontends/drxk_hard.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,10 +368,10 @@ static int i2c_read(struct i2c_adapter *adap,
}
if (debug > 2) {
int i;
dprintk(2, ": read from ");
dprintk(2, ": read from");
for (i = 0; i < len; i++)
printk(KERN_CONT " %02x", msg[i]);
printk(KERN_CONT "Value = ");
printk(KERN_CONT ", value = ");
for (i = 0; i < alen; i++)
printk(KERN_CONT " %02x", answ[i]);
printk(KERN_CONT "\n");
Expand Down Expand Up @@ -947,6 +947,9 @@ static int GetDeviceCapabilities(struct drxk_state *state)
status = read32(state, SIO_TOP_JTAGID_LO__A, &sioTopJtagidLo);
if (status < 0)
goto error;

printk(KERN_ERR "drxk: status = 0x%08x\n", sioTopJtagidLo);

/* driver 0.9.0 */
switch ((sioTopJtagidLo >> 29) & 0xF) {
case 0:
Expand All @@ -964,7 +967,8 @@ static int GetDeviceCapabilities(struct drxk_state *state)
default:
state->m_deviceSpin = DRXK_SPIN_UNKNOWN;
status = -EINVAL;
printk(KERN_ERR "drxk: Spin unknown\n");
printk(KERN_ERR "drxk: Spin %d unknown\n",
(sioTopJtagidLo >> 29) & 0xF);
goto error2;
}
switch ((sioTopJtagidLo >> 12) & 0xFF) {
Expand Down Expand Up @@ -6452,6 +6456,8 @@ struct dvb_frontend *drxk_attach(const struct drxk_config *config,
goto error;
*fe_t = &state->t_frontend;

printk(KERN_INFO "drxk: frontend initialized.\n");

return &state->c_frontend;

error:
Expand Down

0 comments on commit 5408044

Please sign in to comment.