aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorEric Miao <eric.miao@linaro.org>2011-09-22 19:48:53 +0800
committerEric Miao <eric.miao@linaro.org>2011-12-19 11:24:45 +0800
commit434d1fd591e36c1feb4d45c08e29b560e251ce6c (patch)
tree0450a9b56f4a4634f198b445937825230191ae42 /sound
parent1c6a16b3afe1106542026b957de8332cb67bb1e7 (diff)
SAUCE: adjust sgtl5000 and S/PDIF order
BugLink: http://bugs.launchpad.net/bugs/857057 After adding support for S/PDIF audio output routing to HDMI, the SGTL5000 became card #1, which was no longer #0, thus making it no longer the default ALSA card. imx_sgtl5000_init() doesn't need to be late_initcall(), module_init() works just all right. Signed-off-by: Eric Miao <eric.miao@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/Makefile4
-rw-r--r--sound/soc/imx/imx-sgtl5000.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/Makefile b/sound/soc/codecs/Makefile
index dbcc3a37428..149845c7426 100644
--- a/sound/soc/codecs/Makefile
+++ b/sound/soc/codecs/Makefile
@@ -25,10 +25,10 @@ snd-soc-l3-objs := l3.o
snd-soc-max98088-objs := max98088.o
snd-soc-max98095-objs := max98095.o
snd-soc-max9850-objs := max9850.o
-snd-soc-mxc-spdif-objs := mxc_spdif.o
snd-soc-pcm3008-objs := pcm3008.o
snd-soc-rt5631-objs := rt5631.o
snd-soc-sgtl5000-objs := sgtl5000.o
+snd-soc-mxc-spdif-objs := mxc_spdif.o
snd-soc-alc5623-objs := alc5623.o
snd-soc-sn95031-objs := sn95031.o
snd-soc-spdif-objs := spdif_transciever.o
@@ -127,10 +127,10 @@ obj-$(CONFIG_SND_SOC_JZ4740_CODEC) += snd-soc-jz4740-codec.o
obj-$(CONFIG_SND_SOC_MAX98088) += snd-soc-max98088.o
obj-$(CONFIG_SND_SOC_MAX98095) += snd-soc-max98095.o
obj-$(CONFIG_SND_SOC_MAX9850) += snd-soc-max9850.o
-obj-$(CONFIG_SND_SOC_MXC_SPDIF) += snd-soc-mxc-spdif.o
obj-$(CONFIG_SND_SOC_PCM3008) += snd-soc-pcm3008.o
obj-$(CONFIG_SND_SOC_RT5631) += snd-soc-rt5631.o
obj-$(CONFIG_SND_SOC_SGTL5000) += snd-soc-sgtl5000.o
+obj-$(CONFIG_SND_SOC_MXC_SPDIF) += snd-soc-mxc-spdif.o
obj-$(CONFIG_SND_SOC_SN95031) +=snd-soc-sn95031.o
obj-$(CONFIG_SND_SOC_SPDIF) += snd-soc-spdif.o
obj-$(CONFIG_SND_SOC_SSM2602) += snd-soc-ssm2602.o
diff --git a/sound/soc/imx/imx-sgtl5000.c b/sound/soc/imx/imx-sgtl5000.c
index 82ee8eca868..0ff8ee00b3c 100644
--- a/sound/soc/imx/imx-sgtl5000.c
+++ b/sound/soc/imx/imx-sgtl5000.c
@@ -388,7 +388,7 @@ static void __exit imx_sgtl5000_exit(void)
platform_device_unregister(imx_sgtl5000_snd_device);
}
-late_initcall(imx_sgtl5000_init);
+module_init(imx_sgtl5000_init);
module_exit(imx_sgtl5000_exit);
MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");