diff options
-rw-r--r-- | sound/soc/codecs/Kconfig | 4 | ||||
-rw-r--r-- | sound/soc/codecs/Makefile | 4 | ||||
-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.c | 2 |
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 | |||
287 | config SND_SOC_MAX9850 | 287 | config SND_SOC_MAX9850 |
288 | tristate | 288 | tristate |
289 | 289 | ||
290 | config SND_SOC_OMAP_HDMI_CODEC | 290 | config SND_SOC_HDMI_CODEC |
291 | tristate | 291 | tristate |
292 | 292 | ||
293 | config SND_SOC_PCM3008 | 293 | config 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 | |||
41 | snd-soc-max9850-objs := max9850.o | 41 | snd-soc-max9850-objs := max9850.o |
42 | snd-soc-mc13783-objs := mc13783.o | 42 | snd-soc-mc13783-objs := mc13783.o |
43 | snd-soc-ml26124-objs := ml26124.o | 43 | snd-soc-ml26124-objs := ml26124.o |
44 | snd-soc-omap-hdmi-codec-objs := omap-hdmi.o | 44 | snd-soc-hdmi-codec-objs := hdmi.o |
45 | snd-soc-pcm3008-objs := pcm3008.o | 45 | snd-soc-pcm3008-objs := pcm3008.o |
46 | snd-soc-rt5631-objs := rt5631.o | 46 | snd-soc-rt5631-objs := rt5631.o |
47 | snd-soc-sgtl5000-objs := sgtl5000.o | 47 | snd-soc-sgtl5000-objs := sgtl5000.o |
@@ -168,7 +168,7 @@ obj-$(CONFIG_SND_SOC_MAX98095) += snd-soc-max98095.o | |||
168 | obj-$(CONFIG_SND_SOC_MAX9850) += snd-soc-max9850.o | 168 | obj-$(CONFIG_SND_SOC_MAX9850) += snd-soc-max9850.o |
169 | obj-$(CONFIG_SND_SOC_MC13783) += snd-soc-mc13783.o | 169 | obj-$(CONFIG_SND_SOC_MC13783) += snd-soc-mc13783.o |
170 | obj-$(CONFIG_SND_SOC_ML26124) += snd-soc-ml26124.o | 170 | obj-$(CONFIG_SND_SOC_ML26124) += snd-soc-ml26124.o |
171 | obj-$(CONFIG_SND_SOC_OMAP_HDMI_CODEC) += snd-soc-omap-hdmi-codec.o | 171 | obj-$(CONFIG_SND_SOC_HDMI_CODEC) += snd-soc-hdmi-codec.o |
172 | obj-$(CONFIG_SND_SOC_PCM3008) += snd-soc-pcm3008.o | 172 | obj-$(CONFIG_SND_SOC_PCM3008) += snd-soc-pcm3008.o |
173 | obj-$(CONFIG_SND_SOC_RT5631) += snd-soc-rt5631.o | 173 | obj-$(CONFIG_SND_SOC_RT5631) += snd-soc-rt5631.o |
174 | obj-$(CONFIG_SND_SOC_SGTL5000) += snd-soc-sgtl5000.o | 174 | obj-$(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 | ||
26 | static struct snd_soc_codec_driver omap_hdmi_codec; | 26 | static struct snd_soc_codec_driver hdmi_codec; |
27 | 27 | ||
28 | static struct snd_soc_dai_driver omap_hdmi_codec_dai = { | 28 | static 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 | ||
42 | static int omap_hdmi_codec_probe(struct platform_device *pdev) | 42 | static 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 | ||
48 | static int omap_hdmi_codec_remove(struct platform_device *pdev) | 48 | static 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 | ||
54 | static struct platform_driver omap_hdmi_codec_driver = { | 54 | static 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 | ||
64 | module_platform_driver(omap_hdmi_codec_driver); | 64 | module_platform_driver(hdmi_codec_driver); |
65 | 65 | ||
66 | MODULE_AUTHOR("Ricardo Neri <ricardo.neri@ti.com>"); | 66 | MODULE_AUTHOR("Ricardo Neri <ricardo.neri@ti.com>"); |
67 | MODULE_DESCRIPTION("ASoC OMAP HDMI codec driver"); | 67 | MODULE_DESCRIPTION("ASoC generic HDMI codec driver"); |
68 | MODULE_LICENSE("GPL"); | 68 | MODULE_LICENSE("GPL"); |
69 | MODULE_ALIAS("platform:" DRV_NAME); | 69 | MODULE_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 | ||
41 | static struct snd_soc_card snd_soc_omap_hdmi = { | 41 | static struct snd_soc_card snd_soc_omap_hdmi = { |