aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-12-19 07:14:22 -0500
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-01-27 07:19:12 -0500
commitdc189053e1a5ae606c56e432dae1afc28261a819 (patch)
treec8088f74503d0a20a80303e9b8c3f00176ebdfb9
parent2c676f378edb16cb68f7815581c8119fc43a4b85 (diff)
[media] hdmi: rename HDMI_AUDIO_CODING_TYPE_EXT_STREAM to _EXT_CT
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>
-rw-r--r--drivers/video/hdmi.c2
-rw-r--r--include/linux/hdmi.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/video/hdmi.c b/drivers/video/hdmi.c
index a7c6ae4e10e5..162689227a23 100644
--- a/drivers/video/hdmi.c
+++ b/drivers/video/hdmi.c
@@ -842,7 +842,7 @@ hdmi_audio_coding_type_ext_get_name(enum hdmi_audio_coding_type_ext ctx)
842 return "Invalid"; 842 return "Invalid";
843 843
844 switch (ctx) { 844 switch (ctx) {
845 case HDMI_AUDIO_CODING_TYPE_EXT_STREAM: 845 case HDMI_AUDIO_CODING_TYPE_EXT_CT:
846 return "Refer to CT"; 846 return "Refer to CT";
847 case HDMI_AUDIO_CODING_TYPE_EXT_HE_AAC: 847 case HDMI_AUDIO_CODING_TYPE_EXT_HE_AAC:
848 return "HE AAC"; 848 return "HE AAC";
diff --git a/include/linux/hdmi.h b/include/linux/hdmi.h
index 2ff34315a1bb..e9744202fa29 100644
--- a/include/linux/hdmi.h
+++ b/include/linux/hdmi.h
@@ -230,7 +230,8 @@ enum hdmi_audio_sample_frequency {
230}; 230};
231 231
232enum hdmi_audio_coding_type_ext { 232enum hdmi_audio_coding_type_ext {
233 HDMI_AUDIO_CODING_TYPE_EXT_STREAM, 233 /* Refer to Audio Coding Type (CT) field in Data Byte 1 */
234 HDMI_AUDIO_CODING_TYPE_EXT_CT,
234 235
235 /* 236 /*
236 * The next three CXT values are defined in CEA-861-E only. 237 * The next three CXT values are defined in CEA-861-E only.