]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] si4713: print product number
authorEduardo Valentin <edubezval@gmail.com>
Tue, 5 Nov 2013 14:18:43 +0000 (11:18 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 18 Dec 2013 08:40:41 +0000 (06:40 -0200)
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>
drivers/media/radio/si4713/si4713.c

index 17e0106a771b5c57f319fcc87a242b9bf5d03b18..6f28a2b91ed7d9be1f6c1e640dbf73ddfb180f79 100644 (file)
@@ -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;