summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/media.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2015-12-11 21:26:53 +0100
committerMauro Carvalho Chehab2016-01-11 15:19:10 +0100
commitb3109d662d744c065f2a1da5e9b8d08f2189c2ac (patch)
tree9362c29ac21280a50a7e79435b1b963ed2e15a12 /include/uapi/linux/media.h
parent[media] media: move MEDIA_LNK_FL_INTERFACE_LINK logic to link creation (diff)
downloadkernel-qcow2-linux-b3109d662d744c065f2a1da5e9b8d08f2189c2ac.tar.gz
kernel-qcow2-linux-b3109d662d744c065f2a1da5e9b8d08f2189c2ac.tar.xz
kernel-qcow2-linux-b3109d662d744c065f2a1da5e9b8d08f2189c2ac.zip
[media] media.h: let be clear that tuners need to use connectors
The V4L2 core won't be adding connectors to the tuners and other entities that need them. Let it be clear. Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux/media.h')
-rw-r--r--include/uapi/linux/media.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/uapi/linux/media.h b/include/uapi/linux/media.h
index 86f9753e5c03..cacfceb0d81d 100644
--- a/include/uapi/linux/media.h
+++ b/include/uapi/linux/media.h
@@ -74,10 +74,11 @@ struct media_device_info {
/*
* Connectors
*/
+/* It is a responsibility of the entity drivers to add connectors and links */
#define MEDIA_ENT_F_CONN_RF (MEDIA_ENT_F_BASE + 21)
#define MEDIA_ENT_F_CONN_SVIDEO (MEDIA_ENT_F_BASE + 22)
#define MEDIA_ENT_F_CONN_COMPOSITE (MEDIA_ENT_F_BASE + 23)
- /* For internal test signal generators and other debug connectors */
+/* For internal test signal generators and other debug connectors */
#define MEDIA_ENT_F_CONN_TEST (MEDIA_ENT_F_BASE + 24)
/*
@@ -105,6 +106,10 @@ struct media_device_info {
#define MEDIA_ENT_F_FLASH (MEDIA_ENT_F_OLD_SUBDEV_BASE + 2)
#define MEDIA_ENT_F_LENS (MEDIA_ENT_F_OLD_SUBDEV_BASE + 3)
#define MEDIA_ENT_F_ATV_DECODER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 4)
+/*
+ * It is a responsibility of the entity drivers to add connectors and links
+ * for the tuner entities.
+ */
#define MEDIA_ENT_F_TUNER (MEDIA_ENT_F_OLD_SUBDEV_BASE + 5)
#define MEDIA_ENT_F_V4L2_SUBDEV_UNKNOWN MEDIA_ENT_F_OLD_SUBDEV_BASE