Skip to content

Commit

Permalink
[media] tvp5150: Add tvp5151 support
Browse files Browse the repository at this point in the history
Expand the version detection code to identity the tvp5151.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Jan 25, 2016
1 parent 7871597 commit 05676b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/media/i2c/tvp5150.c
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,8 @@ static int tvp5150_detect_version(struct tvp5150 *core)

/* ITU-T BT.656.4 timing */
tvp5150_write(sd, TVP5150_REV_SELECT, 0);
} else if (dev_id == 0x5151 && rom_ver == 0x0100) { /* TVP5151 */
v4l2_info(sd, "tvp5151 detected.\n");
} else {
v4l2_info(sd, "*** unknown tvp%04x chip detected.\n", dev_id);
}
Expand Down

0 comments on commit 05676b3

Please sign in to comment.