diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-10-01 06:33:37 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2009-10-01 06:33:37 -0400 |
commit | f36c4045db71af89a7ea63425676925b7e6b4761 (patch) | |
tree | 43338303bd9856e8727e95fd091b4565cf428eed | |
parent | aa983d9d63c38f596fb87754205da9b7a8d2f6fd (diff) | |
parent | 140318aaa924ce9664ff59366993228cf1547f1d (diff) |
Merge remote branch 'takashi/topic/asoc' into for-2.6.33
-rw-r--r-- | sound/soc/codecs/wm8711.c | 7 | ||||
-rw-r--r-- | sound/soc/s3c24xx/neo1973_gta02_wm8753.c | 6 | ||||
-rw-r--r-- | sound/soc/s3c24xx/neo1973_wm8753.c | 6 |
3 files changed, 10 insertions, 9 deletions
diff --git a/sound/soc/codecs/wm8711.c b/sound/soc/codecs/wm8711.c index ae083eb92fb7..90ec8c58e2f4 100644 --- a/sound/soc/codecs/wm8711.c +++ b/sound/soc/codecs/wm8711.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/pm.h> | 19 | #include <linux/pm.h> |
20 | #include <linux/i2c.h> | 20 | #include <linux/i2c.h> |
21 | #include <linux/platform_device.h> | 21 | #include <linux/platform_device.h> |
22 | #include <linux/spi/spi.h> | ||
22 | #include <sound/core.h> | 23 | #include <sound/core.h> |
23 | #include <sound/pcm.h> | 24 | #include <sound/pcm.h> |
24 | #include <sound/pcm_params.h> | 25 | #include <sound/pcm_params.h> |
@@ -632,9 +633,9 @@ static int __init wm8711_modinit(void) | |||
632 | } | 633 | } |
633 | #endif | 634 | #endif |
634 | #if defined(CONFIG_SPI_MASTER) | 635 | #if defined(CONFIG_SPI_MASTER) |
635 | ret = spi_register_driver(&wm8731_spi_driver); | 636 | ret = spi_register_driver(&wm8711_spi_driver); |
636 | if (ret != 0) { | 637 | if (ret != 0) { |
637 | printk(KERN_ERR "Failed to register WM8731 SPI driver: %d\n", | 638 | printk(KERN_ERR "Failed to register WM8711 SPI driver: %d\n", |
638 | ret); | 639 | ret); |
639 | } | 640 | } |
640 | #endif | 641 | #endif |
@@ -648,7 +649,7 @@ static void __exit wm8711_exit(void) | |||
648 | i2c_del_driver(&wm8711_i2c_driver); | 649 | i2c_del_driver(&wm8711_i2c_driver); |
649 | #endif | 650 | #endif |
650 | #if defined(CONFIG_SPI_MASTER) | 651 | #if defined(CONFIG_SPI_MASTER) |
651 | spi_unregister_driver(&wm8731_spi_driver); | 652 | spi_unregister_driver(&wm8711_spi_driver); |
652 | #endif | 653 | #endif |
653 | } | 654 | } |
654 | module_exit(wm8711_exit); | 655 | module_exit(wm8711_exit); |
diff --git a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c index 6ddd1b3b16b3..26409a9cef9e 100644 --- a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c +++ b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c | |||
@@ -133,7 +133,7 @@ static int neo1973_gta02_hifi_hw_free(struct snd_pcm_substream *substream) | |||
133 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; | 133 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
134 | 134 | ||
135 | /* disable the PLL */ | 135 | /* disable the PLL */ |
136 | return snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, 0); | 136 | return snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, 0, 0); |
137 | } | 137 | } |
138 | 138 | ||
139 | /* | 139 | /* |
@@ -183,7 +183,7 @@ static int neo1973_gta02_voice_hw_params( | |||
183 | return ret; | 183 | return ret; |
184 | 184 | ||
185 | /* configue and enable PLL for 12.288MHz output */ | 185 | /* configue and enable PLL for 12.288MHz output */ |
186 | ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, | 186 | ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, |
187 | iis_clkrate / 4, 12288000); | 187 | iis_clkrate / 4, 12288000); |
188 | if (ret < 0) | 188 | if (ret < 0) |
189 | return ret; | 189 | return ret; |
@@ -197,7 +197,7 @@ static int neo1973_gta02_voice_hw_free(struct snd_pcm_substream *substream) | |||
197 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; | 197 | struct snd_soc_dai *codec_dai = rtd->dai->codec_dai; |
198 | 198 | ||
199 | /* disable the PLL */ | 199 | /* disable the PLL */ |
200 | return snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, 0); | 200 | return snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, 0, 0); |
201 | } | 201 | } |
202 | 202 | ||
203 | static struct snd_soc_ops neo1973_gta02_voice_ops = { | 203 | static struct snd_soc_ops neo1973_gta02_voice_ops = { |
diff --git a/sound/soc/s3c24xx/neo1973_wm8753.c b/sound/soc/s3c24xx/neo1973_wm8753.c index 16009eba9cba..c9b794843a70 100644 --- a/sound/soc/s3c24xx/neo1973_wm8753.c +++ b/sound/soc/s3c24xx/neo1973_wm8753.c | |||
@@ -153,7 +153,7 @@ static int neo1973_hifi_hw_free(struct snd_pcm_substream *substream) | |||
153 | pr_debug("Entered %s\n", __func__); | 153 | pr_debug("Entered %s\n", __func__); |
154 | 154 | ||
155 | /* disable the PLL */ | 155 | /* disable the PLL */ |
156 | return snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, 0); | 156 | return snd_soc_dai_set_pll(codec_dai, WM8753_PLL1, 0, 0, 0); |
157 | } | 157 | } |
158 | 158 | ||
159 | /* | 159 | /* |
@@ -203,7 +203,7 @@ static int neo1973_voice_hw_params(struct snd_pcm_substream *substream, | |||
203 | return ret; | 203 | return ret; |
204 | 204 | ||
205 | /* configue and enable PLL for 12.288MHz output */ | 205 | /* configue and enable PLL for 12.288MHz output */ |
206 | ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, | 206 | ret = snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, |
207 | iis_clkrate / 4, 12288000); | 207 | iis_clkrate / 4, 12288000); |
208 | if (ret < 0) | 208 | if (ret < 0) |
209 | return ret; | 209 | return ret; |
@@ -219,7 +219,7 @@ static int neo1973_voice_hw_free(struct snd_pcm_substream *substream) | |||
219 | pr_debug("Entered %s\n", __func__); | 219 | pr_debug("Entered %s\n", __func__); |
220 | 220 | ||
221 | /* disable the PLL */ | 221 | /* disable the PLL */ |
222 | return snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, 0); | 222 | return snd_soc_dai_set_pll(codec_dai, WM8753_PLL2, 0, 0, 0); |
223 | } | 223 | } |
224 | 224 | ||
225 | static struct snd_soc_ops neo1973_voice_ops = { | 225 | static struct snd_soc_ops neo1973_voice_ops = { |