diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2014-05-19 09:17:26 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-19 12:19:18 -0400 |
commit | 831ffa45e7465e45ab2244da6bbed6bead47b6bc (patch) | |
tree | 612e4475b6e21a6d8e61e2caf971ba47a330f8db /sound/soc/tegra | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) |
ASoC: Remove needless snd_soc_dapm_sync() from machine driver inits
ALSA SoC core takes care of calling snd_soc_dapm_sync() at the end
snd_soc_instantiate_card() so there is no need to call it from machine
driver init functions.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r-- | sound/soc/tegra/tegra_wm9712.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c index 25a7f8211ecf..de087ee3458a 100644 --- a/sound/soc/tegra/tegra_wm9712.c +++ b/sound/soc/tegra/tegra_wm9712.c | |||
@@ -50,9 +50,7 @@ static int tegra_wm9712_init(struct snd_soc_pcm_runtime *rtd) | |||
50 | struct snd_soc_codec *codec = codec_dai->codec; | 50 | struct snd_soc_codec *codec = codec_dai->codec; |
51 | struct snd_soc_dapm_context *dapm = &codec->dapm; | 51 | struct snd_soc_dapm_context *dapm = &codec->dapm; |
52 | 52 | ||
53 | snd_soc_dapm_force_enable_pin(dapm, "Mic Bias"); | 53 | return snd_soc_dapm_force_enable_pin(dapm, "Mic Bias"); |
54 | |||
55 | return snd_soc_dapm_sync(dapm); | ||
56 | } | 54 | } |
57 | 55 | ||
58 | static struct snd_soc_dai_link tegra_wm9712_dai = { | 56 | static struct snd_soc_dai_link tegra_wm9712_dai = { |