diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-05-26 15:28:31 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-22 08:59:05 -0400 |
commit | 385dded8066aec9cb78cfbcc842532dff7946704 (patch) | |
tree | 52b147300ec76a6a29b3d6644b1686a2620232aa /drivers/media/i2c | |
parent | 3c4b422adb7694418848cefc2a4669d63192c649 (diff) |
[media] tvp5150: Fix device ID kernel log message
X-Patchwork-Delegate: mchehab@redhat.com
The driver mistakenly prints the ROM version instead of the device ID to
the kernel log when detecting the chip. Fix it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c')
-rw-r--r-- | drivers/media/i2c/tvp5150.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/i2c/tvp5150.c b/drivers/media/i2c/tvp5150.c index a9121254e37a..937e48b3b734 100644 --- a/drivers/media/i2c/tvp5150.c +++ b/drivers/media/i2c/tvp5150.c | |||
@@ -1148,10 +1148,10 @@ static int tvp5150_probe(struct i2c_client *c, | |||
1148 | /* Is TVP5150A */ | 1148 | /* Is TVP5150A */ |
1149 | if (tvp5150_id[2] == 3 || tvp5150_id[3] == 0x21) { | 1149 | if (tvp5150_id[2] == 3 || tvp5150_id[3] == 0x21) { |
1150 | v4l2_info(sd, "tvp%02x%02xa detected.\n", | 1150 | v4l2_info(sd, "tvp%02x%02xa detected.\n", |
1151 | tvp5150_id[2], tvp5150_id[3]); | 1151 | tvp5150_id[0], tvp5150_id[1]); |
1152 | } else { | 1152 | } else { |
1153 | v4l2_info(sd, "*** unknown tvp%02x%02x chip detected.\n", | 1153 | v4l2_info(sd, "*** unknown tvp%02x%02x chip detected.\n", |
1154 | tvp5150_id[2], tvp5150_id[3]); | 1154 | tvp5150_id[0], tvp5150_id[1]); |
1155 | v4l2_info(sd, "*** Rom ver is %d.%d\n", | 1155 | v4l2_info(sd, "*** Rom ver is %d.%d\n", |
1156 | tvp5150_id[2], tvp5150_id[3]); | 1156 | tvp5150_id[2], tvp5150_id[3]); |
1157 | } | 1157 | } |