[media] media.h: get rid of MEDIA_ENT_F_CONN_TEST
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 12 Feb 2016 17:44:31 +0000 (15:44 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 16 Feb 2016 11:16:56 +0000 (09:16 -0200)
Defining it as a connector was a bad idea. Remove it while it is
not too late.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/DocBook/media/v4l/media-types.xml
drivers/media/v4l2-core/v4l2-mc.c
include/uapi/linux/media.h

index 751c3d0271036544dae44457fdab0f8767830ef7..8b4fa39cf6112ab761ad5aa7161fc3658d00b049 100644 (file)
            <entry><constant>MEDIA_ENT_F_CONN_COMPOSITE</constant></entry>
            <entry>Connector for a RGB composite signal.</entry>
          </row>
-         <row>
-           <entry><constant>MEDIA_ENT_F_CONN_TEST</constant></entry>
-           <entry>Connector for a test generator.</entry>
-         </row>
          <row>
            <entry><constant>MEDIA_ENT_F_CAM_SENSOR</constant></entry>
            <entry>Camera video sensor entity.</entry>
index 9d79d599d97931f1a95439d13c56cff273223a69..a7f41b3235225c9a0a7e031035444275102dd6c9 100644 (file)
@@ -241,7 +241,6 @@ int v4l2_mc_create_media_graph(struct media_device *mdev)
                        break;
                case MEDIA_ENT_F_CONN_SVIDEO:
                case MEDIA_ENT_F_CONN_COMPOSITE:
-               case MEDIA_ENT_F_CONN_TEST:
                        ret = media_create_pad_link(entity, 0, decoder,
                                                    DEMOD_PAD_IF_INPUT,
                                                    flags);
index c9eb42a6c0210fa1f075cc294c70516d18dc17f8..7113b1a8cb4e6b0c67828ce5a6ccc57c3fe9e873 100644 (file)
@@ -78,8 +78,6 @@ struct media_device_info {
 #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 */
-#define MEDIA_ENT_F_CONN_TEST          (MEDIA_ENT_F_BASE + 24)
 
 /*
  * I/O entities