Browse Source

[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>
Eduardo Valentin 11 years ago
parent
commit
b2c6eedb1f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/radio/si4713/si4713.c

+ 1 - 1
drivers/media/radio/si4713/si4713.c

@@ -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;