Skip to content

Commit

Permalink
[PATCH] v4l: change the prefix of msp34xx and error while reading chi…
Browse files Browse the repository at this point in the history
…p version

- Changes the prefix to 'msp34xx' instead of 'msp3400'.
- Changes the message 'error while reading chip version' to a debug printk at
   msp3400.c

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Mauro Carvalho Chehab authored and Linus Torvalds committed Sep 9, 2005
1 parent 2f18071 commit c0e9eae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/video/msp3400.c
Original file line number Diff line number Diff line change
Expand Up @@ -1452,7 +1452,7 @@ static int msp_attach(struct i2c_adapter *adap, int addr, int kind)
client_template.addr = addr;

if (-1 == msp3400c_reset(&client_template)) {
dprintk("msp3400: no chip found\n");
dprintk("msp34xx: no chip found\n");
return -1;
}

Expand All @@ -1478,7 +1478,7 @@ static int msp_attach(struct i2c_adapter *adap, int addr, int kind)
if (-1 == msp3400c_reset(c)) {
kfree(msp);
kfree(c);
dprintk("msp3400: no chip found\n");
dprintk("msp34xx: no chip found\n");
return -1;
}

Expand All @@ -1488,7 +1488,7 @@ static int msp_attach(struct i2c_adapter *adap, int addr, int kind)
if ((-1 == msp->rev1) || (0 == msp->rev1 && 0 == msp->rev2)) {
kfree(msp);
kfree(c);
printk("msp3400: error while reading chip version\n");
dprintk("msp34xx: error while reading chip version\n");
return -1;
}

Expand Down

0 comments on commit c0e9eae

Please sign in to comment.