summaryrefslogtreecommitdiff
path: root/sound/soc/intel
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2014-05-19 16:17:26 +0300
committerMark Brown <broonie@linaro.org>2014-05-19 17:19:18 +0100
commit831ffa45e7465e45ab2244da6bbed6bead47b6bc (patch)
tree612e4475b6e21a6d8e61e2caf971ba47a330f8db /sound/soc/intel
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (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/intel')
-rw-r--r--sound/soc/intel/byt-rt5640.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/intel/byt-rt5640.c b/sound/soc/intel/byt-rt5640.c
index eff97c8e5218..b3195bb24b72 100644
--- a/sound/soc/intel/byt-rt5640.c
+++ b/sound/soc/intel/byt-rt5640.c
@@ -105,7 +105,6 @@ static int byt_rt5640_init(struct snd_soc_pcm_runtime *runtime)
snd_soc_dapm_enable_pin(dapm, "Speaker");
snd_soc_dapm_enable_pin(dapm, "Internal Mic");
- snd_soc_dapm_sync(dapm);
return ret;
}