summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorLad, Prabhakar2013-05-03 09:17:19 +0200
committerMauro Carvalho Chehab2013-05-21 13:21:13 +0200
commit63eb2ca171fc5e7c11b16dccd3dc087b050b788c (patch)
tree97fe8ddfe7181c86aa9099abd5c92f0c05b1354e /include/media
parent[media] hdpvr: Added some error handling in hdpvr_start_streaming() (diff)
downloadkernel-qcow2-linux-63eb2ca171fc5e7c11b16dccd3dc087b050b788c.tar.gz
kernel-qcow2-linux-63eb2ca171fc5e7c11b16dccd3dc087b050b788c.tar.xz
kernel-qcow2-linux-63eb2ca171fc5e7c11b16dccd3dc087b050b788c.zip
[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>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/tvp7002.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/tvp7002.h b/include/media/tvp7002.h
index ee4353459ef5..7123048408d6 100644
--- a/include/media/tvp7002.h
+++ b/include/media/tvp7002.h
@@ -26,6 +26,8 @@
#ifndef _TVP7002_H_
#define _TVP7002_H_
+#define TVP7002_MODULE_NAME "tvp7002"
+
/* Platform-dependent data
*
* clk_polarity: