Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05676b3e authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab
Browse files

[media] tvp5150: Add tvp5151 support



Expand the version detection code to identity the tvp5151.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 7871597a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
	}