[media] hdmi: rename HDMI_AUDIO_CODING_TYPE_EXT_STREAM to _EXT_CT
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 19 Dec 2014 12:14:22 +0000 (09:14 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 27 Jan 2015 12:19:12 +0000 (10:19 -0200)
As per the suggestion of Thierry Reding rename
HDMI_AUDIO_CODING_TYPE_EXT_STREAM to HDMI_AUDIO_CODING_TYPE_EXT_CT to
be consistent with the CEA-861 spec.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/video/hdmi.c
include/linux/hdmi.h

index a7c6ae4e10e5f21856eb4bf27347da438f92734c..162689227a23d5d2ecbc62d58ff6e0d6a363353b 100644 (file)
@@ -842,7 +842,7 @@ hdmi_audio_coding_type_ext_get_name(enum hdmi_audio_coding_type_ext ctx)
                return "Invalid";
 
        switch (ctx) {
-       case HDMI_AUDIO_CODING_TYPE_EXT_STREAM:
+       case HDMI_AUDIO_CODING_TYPE_EXT_CT:
                return "Refer to CT";
        case HDMI_AUDIO_CODING_TYPE_EXT_HE_AAC:
                return "HE AAC";
index 2ff34315a1bb3dd4040a242e233e432f73903f8b..e9744202fa292c9f49e926b7534abf6235753db3 100644 (file)
@@ -230,7 +230,8 @@ enum hdmi_audio_sample_frequency {
 };
 
 enum hdmi_audio_coding_type_ext {
-       HDMI_AUDIO_CODING_TYPE_EXT_STREAM,
+       /* Refer to Audio Coding Type (CT) field in Data Byte 1 */
+       HDMI_AUDIO_CODING_TYPE_EXT_CT,
 
        /*
         * The next three CXT values are defined in CEA-861-E only.