From: Eduardo Valentin <edubez...@gmail.com>

Print the PN value, useful to check what chip the dev board has.

Signed-off-by: Eduardo Valentin <edubez...@gmail.com>
Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
---
 drivers/media/radio/si4713/si4713.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/radio/si4713/si4713.c 
b/drivers/media/radio/si4713/si4713.c
index 17e0106..6f28a2b 100644
--- a/drivers/media/radio/si4713/si4713.c
+++ b/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",
                                client->addr << 1, client->adapter->name);
        } else {
-               v4l2_err(&sdev->sd, "Invalid product number\n");
+               v4l2_err(&sdev->sd, "Invalid product number 0x%X\n", resp[1]);
                rval = -EINVAL;
        }
        return rval;
-- 
1.8.4.rc3

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to