aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/Kconfig4
-rw-r--r--sound/soc/codecs/Makefile4
-rw-r--r--sound/soc/codecs/hdmi.c (renamed from sound/soc/codecs/omap-hdmi.c)26
-rw-r--r--sound/soc/omap/omap-hdmi-card.c2
4 files changed, 18 insertions, 18 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 2f45f00e31b0..d8c4f3dcf4a1 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -53,7 +53,7 @@ config SND_SOC_ALL_CODECS
53 select SND_SOC_MAX9877 if I2C 53 select SND_SOC_MAX9877 if I2C
54 select SND_SOC_MC13783 if MFD_MC13XXX 54 select SND_SOC_MC13783 if MFD_MC13XXX
55 select SND_SOC_ML26124 if I2C 55 select SND_SOC_ML26124 if I2C
56 select SND_SOC_OMAP_HDMI_CODEC if OMAP4_DSS_HDMI 56 select SND_SOC_HDMI_CODEC
57 select SND_SOC_PCM3008 57 select SND_SOC_PCM3008
58 select SND_SOC_RT5631 if I2C 58 select SND_SOC_RT5631 if I2C
59 select SND_SOC_SGTL5000 if I2C 59 select SND_SOC_SGTL5000 if I2C
@@ -287,7 +287,7 @@ config SND_SOC_MAX98095
287config SND_SOC_MAX9850 287config SND_SOC_MAX9850
288 tristate 288 tristate
289 289
290config SND_SOC_OMAP_HDMI_CODEC 290config SND_SOC_HDMI_CODEC
291 tristate 291 tristate
292 292
293config SND_SOC_PCM3008 293config SND_SOC_PCM3008
diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile
index b9e41c9a1f4c..49ff12718bed 100644
--- a/sound/soc/codecs/Makefile
+++ b/sound/soc/codecs/Makefile
@@ -41,7 +41,7 @@ snd-soc-max98095-objs := max98095.o
41snd-soc-max9850-objs := max9850.o 41snd-soc-max9850-objs := max9850.o
42snd-soc-mc13783-objs := mc13783.o 42snd-soc-mc13783-objs := mc13783.o
43snd-soc-ml26124-objs := ml26124.o 43snd-soc-ml26124-objs := ml26124.o
44snd-soc-omap-hdmi-codec-objs := omap-hdmi.o 44snd-soc-hdmi-codec-objs := hdmi.o
45snd-soc-pcm3008-objs := pcm3008.o 45snd-soc-pcm3008-objs := pcm3008.o
46snd-soc-rt5631-objs := rt5631.o 46snd-soc-rt5631-objs := rt5631.o
47snd-soc-sgtl5000-objs := sgtl5000.o 47snd-soc-sgtl5000-objs := sgtl5000.o
@@ -168,7 +168,7 @@ obj-$(CONFIG_SND_SOC_MAX98095) += snd-soc-max98095.o
168obj-$(CONFIG_SND_SOC_MAX9850) += snd-soc-max9850.o 168obj-$(CONFIG_SND_SOC_MAX9850) += snd-soc-max9850.o
169obj-$(CONFIG_SND_SOC_MC13783) += snd-soc-mc13783.o 169obj-$(CONFIG_SND_SOC_MC13783) += snd-soc-mc13783.o
170obj-$(CONFIG_SND_SOC_ML26124) += snd-soc-ml26124.o 170obj-$(CONFIG_SND_SOC_ML26124) += snd-soc-ml26124.o
171obj-$(CONFIG_SND_SOC_OMAP_HDMI_CODEC) += snd-soc-omap-hdmi-codec.o 171obj-$(CONFIG_SND_SOC_HDMI_CODEC) += snd-soc-hdmi-codec.o
172obj-$(CONFIG_SND_SOC_PCM3008) += snd-soc-pcm3008.o 172obj-$(CONFIG_SND_SOC_PCM3008) += snd-soc-pcm3008.o
173obj-$(CONFIG_SND_SOC_RT5631) += snd-soc-rt5631.o 173obj-$(CONFIG_SND_SOC_RT5631) += snd-soc-rt5631.o
174obj-$(CONFIG_SND_SOC_SGTL5000) += snd-soc-sgtl5000.o 174obj-$(CONFIG_SND_SOC_SGTL5000) += snd-soc-sgtl5000.o
diff --git a/sound/soc/codecs/omap-hdmi.c b/sound/soc/codecs/hdmi.c
index 529d06444c54..2bcae2b40c92 100644
--- a/sound/soc/codecs/omap-hdmi.c
+++ b/sound/soc/codecs/hdmi.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * ALSA SoC codec driver for HDMI audio on OMAP processors. 2 * ALSA SoC codec driver for HDMI audio codecs.
3 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 3 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
4 * Author: Ricardo Neri <ricardo.neri@ti.com> 4 * Author: Ricardo Neri <ricardo.neri@ti.com>
5 * 5 *
@@ -23,10 +23,10 @@
23 23
24#define DRV_NAME "hdmi-audio-codec" 24#define DRV_NAME "hdmi-audio-codec"
25 25
26static struct snd_soc_codec_driver omap_hdmi_codec; 26static struct snd_soc_codec_driver hdmi_codec;
27 27
28static struct snd_soc_dai_driver omap_hdmi_codec_dai = { 28static struct snd_soc_dai_driver hdmi_codec_dai = {
29 .name = "omap-hdmi-hifi", 29 .name = "hdmi-hifi",
30 .playback = { 30 .playback = {
31 .channels_min = 2, 31 .channels_min = 2,
32 .channels_max = 8, 32 .channels_max = 8,
@@ -39,31 +39,31 @@ static struct snd_soc_dai_driver omap_hdmi_codec_dai = {
39 }, 39 },
40}; 40};
41 41
42static int omap_hdmi_codec_probe(struct platform_device *pdev) 42static int hdmi_codec_probe(struct platform_device *pdev)
43{ 43{
44 return snd_soc_register_codec(&pdev->dev, &omap_hdmi_codec, 44 return snd_soc_register_codec(&pdev->dev, &hdmi_codec,
45 &omap_hdmi_codec_dai, 1); 45 &hdmi_codec_dai, 1);
46} 46}
47 47
48static int omap_hdmi_codec_remove(struct platform_device *pdev) 48static int hdmi_codec_remove(struct platform_device *pdev)
49{ 49{
50 snd_soc_unregister_codec(&pdev->dev); 50 snd_soc_unregister_codec(&pdev->dev);
51 return 0; 51 return 0;
52} 52}
53 53
54static struct platform_driver omap_hdmi_codec_driver = { 54static struct platform_driver hdmi_codec_driver = {
55 .driver = { 55 .driver = {
56 .name = DRV_NAME, 56 .name = DRV_NAME,
57 .owner = THIS_MODULE, 57 .owner = THIS_MODULE,
58 }, 58 },
59 59
60 .probe = omap_hdmi_codec_probe, 60 .probe = hdmi_codec_probe,
61 .remove = omap_hdmi_codec_remove, 61 .remove = hdmi_codec_remove,
62}; 62};
63 63
64module_platform_driver(omap_hdmi_codec_driver); 64module_platform_driver(hdmi_codec_driver);
65 65
66MODULE_AUTHOR("Ricardo Neri <ricardo.neri@ti.com>"); 66MODULE_AUTHOR("Ricardo Neri <ricardo.neri@ti.com>");
67MODULE_DESCRIPTION("ASoC OMAP HDMI codec driver"); 67MODULE_DESCRIPTION("ASoC generic HDMI codec driver");
68MODULE_LICENSE("GPL"); 68MODULE_LICENSE("GPL");
69MODULE_ALIAS("platform:" DRV_NAME); 69MODULE_ALIAS("platform:" DRV_NAME);
diff --git a/sound/soc/omap/omap-hdmi-card.c b/sound/soc/omap/omap-hdmi-card.c
index d4eaa92e518e..7e66e9cba5a8 100644
--- a/sound/soc/omap/omap-hdmi-card.c
+++ b/sound/soc/omap/omap-hdmi-card.c
@@ -35,7 +35,7 @@ static struct snd_soc_dai_link omap_hdmi_dai = {
35 .cpu_dai_name = "omap-hdmi-audio-dai", 35 .cpu_dai_name = "omap-hdmi-audio-dai",
36 .platform_name = "omap-pcm-audio", 36 .platform_name = "omap-pcm-audio",
37 .codec_name = "hdmi-audio-codec", 37 .codec_name = "hdmi-audio-codec",
38 .codec_dai_name = "omap-hdmi-hifi", 38 .codec_dai_name = "hdmi-hifi",
39}; 39};
40 40
41static struct snd_soc_card snd_soc_omap_hdmi = { 41static struct snd_soc_card snd_soc_omap_hdmi = {