[media] si4713: print product number
Print the PN value, useful to check what chip the dev board has. Signed-off-by: Eduardo Valentin <edubezval@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
8aab72bb07
commit
b2c6eedb1f
|
@ -464,7 +464,7 @@ static int si4713_checkrev(struct si4713_device *sdev)
|
||||||
v4l2_info(&sdev->sd, "chip found @ 0x%02x (%s)\n",
|
v4l2_info(&sdev->sd, "chip found @ 0x%02x (%s)\n",
|
||||||
client->addr << 1, client->adapter->name);
|
client->addr << 1, client->adapter->name);
|
||||||
} else {
|
} else {
|
||||||
v4l2_err(&sdev->sd, "Invalid product number\n");
|
v4l2_err(&sdev->sd, "Invalid product number 0x%X\n", resp[1]);
|
||||||
rval = -EINVAL;
|
rval = -EINVAL;
|
||||||
}
|
}
|
||||||
return rval;
|
return rval;
|
||||||
|
|
Loading…
Reference in New Issue