diff options
author | Jiri Kosina <jkosina@suse.cz> | 2011-11-13 14:55:35 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-11-13 14:55:53 -0500 |
commit | 2290c0d06d82faee87b1ab2d9d4f7bf81ef64379 (patch) | |
tree | e075e4d5534193f28e6059904f61e5ca03958d3c /sound/soc/pxa/z2.c | |
parent | 4da669a2e3e5bc70b30a0465f3641528681b5f77 (diff) | |
parent | 52e4c2a05256cb83cda12f3c2137ab1533344edb (diff) |
Merge branch 'master' into for-next
Sync with Linus tree to have 157550ff ("mtd: add GPMI-NAND driver
in the config and Makefile") as I have patch depending on that one.
Diffstat (limited to 'sound/soc/pxa/z2.c')
-rw-r--r-- | sound/soc/pxa/z2.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/soc/pxa/z2.c b/sound/soc/pxa/z2.c index d69d9fc3223..b311ffe04b7 100644 --- a/sound/soc/pxa/z2.c +++ b/sound/soc/pxa/z2.c | |||
@@ -161,10 +161,6 @@ static int z2_wm8750_init(struct snd_soc_pcm_runtime *rtd) | |||
161 | /* Set up z2 specific audio paths */ | 161 | /* Set up z2 specific audio paths */ |
162 | snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map)); | 162 | snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map)); |
163 | 163 | ||
164 | ret = snd_soc_dapm_sync(dapm); | ||
165 | if (ret) | ||
166 | goto err; | ||
167 | |||
168 | /* Jack detection API stuff */ | 164 | /* Jack detection API stuff */ |
169 | ret = snd_soc_jack_new(codec, "Headset Jack", SND_JACK_HEADSET, | 165 | ret = snd_soc_jack_new(codec, "Headset Jack", SND_JACK_HEADSET, |
170 | &hs_jack); | 166 | &hs_jack); |
@@ -198,7 +194,7 @@ static struct snd_soc_dai_link z2_dai = { | |||
198 | .cpu_dai_name = "pxa2xx-i2s", | 194 | .cpu_dai_name = "pxa2xx-i2s", |
199 | .codec_dai_name = "wm8750-hifi", | 195 | .codec_dai_name = "wm8750-hifi", |
200 | .platform_name = "pxa-pcm-audio", | 196 | .platform_name = "pxa-pcm-audio", |
201 | .codec_name = "wm8750-codec.0-001b", | 197 | .codec_name = "wm8750.0-001b", |
202 | .init = z2_wm8750_init, | 198 | .init = z2_wm8750_init, |
203 | .ops = &z2_ops, | 199 | .ops = &z2_ops, |
204 | }; | 200 | }; |