[media] media: i2c: tvp7002: enable TVP7002 decoder for media controller based usage
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 3 May 2013 07:17:19 +0000 (04:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 21 May 2013 11:21:13 +0000 (08:21 -0300)
commit63eb2ca171fc5e7c11b16dccd3dc087b050b788c
tree97fe8ddfe7181c86aa9099abd5c92f0c05b1354e
parentf74368769048a803e7a7a3dac6434833f563d3bd
[media] media: i2c: tvp7002: enable TVP7002 decoder for media controller based usage

This patch enables tvp7002 decoder driver for media controller
based usage by adding v4l2_subdev_pad_ops  operations support
for enum_mbus_code, set_pad_format, get_pad_format and media_entity_init()
on probe and media_entity_cleanup() on remove.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/tvp7002.c
include/media/tvp7002.h