Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270802
b: refs/heads/master
c: 87bea31
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Oct 8, 2011
1 parent 572f968 commit e682bf7
Show file tree
Hide file tree
Showing 32 changed files with 1 addition and 74 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4f4c0072228785179d35b2bd9e48081ce9fa51f6
refs/heads/master: 87bea31c7b59a07fe5a1c827eb01db3b7c3ae672
1 change: 0 additions & 1 deletion trunk/sound/soc/atmel/playpaq_wm8510.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ static int playpaq_wm8510_init(struct snd_soc_pcm_runtime *rtd)
/* always connected pins */
snd_soc_dapm_enable_pin(dapm, "Int Mic");
snd_soc_dapm_enable_pin(dapm, "Ext Spk");
snd_soc_dapm_sync(dapm);



Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/atmel/sam9g20_wm8731.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,6 @@ static int at91sam9g20ek_wm8731_init(struct snd_soc_pcm_runtime *rtd)
/* always connected */
snd_soc_dapm_enable_pin(dapm, "Ext Spk");

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/atmel/snd-soc-afeb9260.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ static int afeb9260_tlv320aic23_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_enable_pin(dapm, "Line In");
snd_soc_dapm_enable_pin(dapm, "Mic Jack");

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/davinci/davinci-evm.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ static int evm_aic3x_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_enable_pin(dapm, "Mic Jack");
snd_soc_dapm_enable_pin(dapm, "Line In");

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/kirkwood/kirkwood-t5325.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ static int t5325_dai_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_enable_pin(dapm, "Headphone Jack");
snd_soc_dapm_enable_pin(dapm, "Speaker");

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/mid-x86/mfld_machine.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,6 @@ static int mfld_init(struct snd_soc_pcm_runtime *runtime)
/* always connected */
snd_soc_dapm_enable_pin(dapm, "Headphones");
snd_soc_dapm_enable_pin(dapm, "Mic");
snd_soc_dapm_sync(dapm);

ret_val = snd_soc_add_controls(codec, mfld_snd_controls,
ARRAY_SIZE(mfld_snd_controls));
Expand All @@ -251,7 +250,6 @@ static int mfld_init(struct snd_soc_pcm_runtime *runtime)
/* we dont use linein in this so set to NC */
snd_soc_dapm_disable_pin(dapm, "LINEINL");
snd_soc_dapm_disable_pin(dapm, "LINEINR");
snd_soc_dapm_sync(dapm);

/* Headset and button jack detection */
ret_val = snd_soc_jack_new(codec, "Intel(R) MID Audio Jack",
Expand Down
1 change: 0 additions & 1 deletion trunk/sound/soc/pxa/corgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@ static int corgi_wm8731_init(struct snd_soc_pcm_runtime *rtd)
/* Set up corgi specific audio path audio_map */
snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));

snd_soc_dapm_sync(dapm);
return 0;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/pxa/e740_wm9705.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,6 @@ static int e740_ac97_init(struct snd_soc_pcm_runtime *rtd)

snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/pxa/e750_wm9705.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@ static int e750_ac97_init(struct snd_soc_pcm_runtime *rtd)

snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down
1 change: 0 additions & 1 deletion trunk/sound/soc/pxa/e800_wm9712.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ static int e800_ac97_init(struct snd_soc_pcm_runtime *rtd)
ARRAY_SIZE(e800_dapm_widgets));

snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));
snd_soc_dapm_sync(dapm);

return 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/sound/soc/pxa/magician.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,6 @@ static int magician_uda1380_init(struct snd_soc_pcm_runtime *rtd)
/* Set up magician specific audio path interconnects */
snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));

snd_soc_dapm_sync(dapm);
return 0;
}

Expand Down
1 change: 0 additions & 1 deletion trunk/sound/soc/pxa/mioa701_wm9713.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ static int mioa701_wm9713_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_enable_pin(dapm, "Front Mic");
snd_soc_dapm_enable_pin(dapm, "GSM Line In");
snd_soc_dapm_enable_pin(dapm, "GSM Line Out");
snd_soc_dapm_sync(dapm);

return 0;
}
Expand Down
4 changes: 0 additions & 4 deletions trunk/sound/soc/pxa/palm27x.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ static int palm27x_ac97_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_nc_pin(dapm, "PHONE");
snd_soc_dapm_nc_pin(dapm, "MIC2");

err = snd_soc_dapm_sync(dapm);
if (err)
return err;

/* Jack detection API stuff */
err = snd_soc_jack_new(codec, "Headphone Jack",
SND_JACK_HEADPHONE, &hs_jack);
Expand Down
4 changes: 0 additions & 4 deletions trunk/sound/soc/pxa/saarb.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ static int saarb_pm860x_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_disable_pin(dapm, "Headset Mic 2");
snd_soc_dapm_disable_pin(dapm, "Headset Stereophone");

ret = snd_soc_dapm_sync(dapm);
if (ret)
return ret;

/* Headset jack detection */
snd_soc_jack_new(codec, "Headphone Jack", SND_JACK_HEADPHONE
| SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2,
Expand Down
4 changes: 0 additions & 4 deletions trunk/sound/soc/pxa/tavorevb3.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,6 @@ static int evb3_pm860x_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_disable_pin(dapm, "Headset Mic 2");
snd_soc_dapm_disable_pin(dapm, "Headset Stereophone");

ret = snd_soc_dapm_sync(dapm);
if (ret)
return ret;

/* Headset jack detection */
snd_soc_jack_new(codec, "Headphone Jack", SND_JACK_HEADPHONE
| SND_JACK_BTN_0 | SND_JACK_BTN_1 | SND_JACK_BTN_2,
Expand Down
1 change: 0 additions & 1 deletion trunk/sound/soc/pxa/tosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ static int tosa_ac97_init(struct snd_soc_pcm_runtime *rtd)
/* set up tosa specific audio path audio_map */
snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));

snd_soc_dapm_sync(dapm);
return 0;
}

Expand Down
4 changes: 0 additions & 4 deletions trunk/sound/soc/pxa/z2.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,6 @@ static int z2_wm8750_init(struct snd_soc_pcm_runtime *rtd)
/* Set up z2 specific audio paths */
snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));

ret = snd_soc_dapm_sync(dapm);
if (ret)
goto err;

/* Jack detection API stuff */
ret = snd_soc_jack_new(codec, "Headset Jack", SND_JACK_HEADSET,
&hs_jack);
Expand Down
1 change: 0 additions & 1 deletion trunk/sound/soc/pxa/zylonite.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ static int zylonite_wm9713_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_enable_pin(dapm, "Headphone");
snd_soc_dapm_enable_pin(dapm, "Headset Earpiece");

snd_soc_dapm_sync(dapm);
return 0;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/samsung/goni_wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,6 @@ static int goni_wm8994_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_nc_pin(dapm, "SPKOUTRP");
}

snd_soc_dapm_sync(dapm);

/* Headset jack detection */
ret = snd_soc_jack_new(codec, "Headset Jack",
SND_JACK_HEADSET | SND_JACK_MECHANICAL | SND_JACK_AVOUT,
Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/samsung/h1940_uda1380.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ static int h1940_uda1380_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_enable_pin(dapm, "Speaker");
snd_soc_dapm_enable_pin(dapm, "Mic Jack");

snd_soc_dapm_sync(dapm);

snd_soc_jack_new(codec, "Headphone Jack", SND_JACK_HEADPHONE,
&hp_jack);

Expand Down
1 change: 0 additions & 1 deletion trunk/sound/soc/samsung/jive_wm8750.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ static int jive_wm8750_init(struct snd_soc_pcm_runtime *rtd)
}

snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map));
snd_soc_dapm_sync(dapm);

return 0;
}
Expand Down
4 changes: 0 additions & 4 deletions trunk/sound/soc/samsung/neo1973_wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,6 @@ static int neo1973_wm8753_init(struct snd_soc_pcm_runtime *rtd)
return ret;
}

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down Expand Up @@ -409,8 +407,6 @@ static int neo1973_lm4857_init(struct snd_soc_dapm_context *dapm)
snd_soc_dapm_ignore_suspend(dapm, "Handset Spk");
snd_soc_dapm_ignore_suspend(dapm, "Headphone");

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/samsung/rx1950_uda1380.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,6 @@ static int rx1950_uda1380_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_enable_pin(dapm, "Speaker");
snd_soc_dapm_enable_pin(dapm, "Mic Jack");

snd_soc_dapm_sync(dapm);

snd_soc_jack_new(codec, "Headphone Jack", SND_JACK_HEADPHONE,
&hp_jack);

Expand Down
1 change: 0 additions & 1 deletion trunk/sound/soc/samsung/s3c24xx_simtec_hermes.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ static int simtec_hermes_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_enable_pin(dapm, "Mic Jack");

simtec_audio_init(rtd);
snd_soc_dapm_sync(dapm);

return 0;
}
Expand Down
1 change: 0 additions & 1 deletion trunk/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ static int simtec_tlv320aic23_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_enable_pin(dapm, "Mic Jack");

simtec_audio_init(rtd);
snd_soc_dapm_sync(dapm);

return 0;
}
Expand Down
4 changes: 0 additions & 4 deletions trunk/sound/soc/samsung/smartq_wm8987.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,6 @@ static int smartq_wm8987_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_enable_pin(dapm, "Internal Mic");
snd_soc_dapm_disable_pin(dapm, "Headphone Jack");

err = snd_soc_dapm_sync(dapm);
if (err)
return err;

/* Headphone jack detection */
err = snd_soc_jack_new(codec, "Headphone Jack",
SND_JACK_HEADPHONE, &smartq_jack);
Expand Down
6 changes: 0 additions & 6 deletions trunk/sound/soc/samsung/smdk_wm8580.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ static int smdk_wm8580_init_paiftx(struct snd_soc_pcm_runtime *rtd)
*/
snd_soc_dapm_disable_pin(dapm, "MicIn");

/* signal a DAPM event */
snd_soc_dapm_sync(dapm);

return 0;
}

Expand All @@ -191,9 +188,6 @@ static int smdk_wm8580_init_paifrx(struct snd_soc_pcm_runtime *rtd)
/* Set up PAIFRX audio path */
snd_soc_dapm_add_routes(dapm, audio_map_rx, ARRAY_SIZE(audio_map_rx));

/* signal a DAPM event */
snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/samsung/smdk_wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ static int smdk_wm8994_init_paiftx(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_nc_pin(dapm, "IN1RP");
snd_soc_dapm_nc_pin(dapm, "IN2RP:VXRP");

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down
7 changes: 0 additions & 7 deletions trunk/sound/soc/sh/sh7760-ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,13 @@
extern struct snd_soc_dai_driver sh4_hac_dai[2];
extern struct snd_soc_platform_driver sh7760_soc_platform;

static int machine_init(struct snd_soc_pcm_runtime *rtd)
{
snd_soc_dapm_sync(&rtd->codec->dapm);
return 0;
}

static struct snd_soc_dai_link sh7760_ac97_dai = {
.name = "AC97",
.stream_name = "AC97 HiFi",
.cpu_dai_name = "hac-dai.0", /* HAC0 */
.codec_dai_name = "ac97-hifi",
.platform_name = "sh7760-pcm-audio",
.codec_name = "ac97-codec",
.init = machine_init,
.ops = NULL,
};

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/tegra/tegra_wm8903.c
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,6 @@ static int tegra_wm8903_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_nc_pin(dapm, "LINEOUTL");
}

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down
2 changes: 0 additions & 2 deletions trunk/sound/soc/tegra/trimslice.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ static int trimslice_asoc_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_nc_pin(dapm, "RHPOUT");
snd_soc_dapm_nc_pin(dapm, "MICIN");

snd_soc_dapm_sync(dapm);

return 0;
}

Expand Down

0 comments on commit e682bf7

Please sign in to comment.