diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2014-05-19 15:17:27 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-19 18:19:18 +0200 |
commit | d77a14b579f6bfe2d149d3bcc5bd306e20d2d652 (patch) | |
tree | 5e40d7fa7a209b113a5ce0a27677e7f91ce8809b /sound/soc/samsung/smartq_wm8987.c | |
parent | ASoC: Remove needless snd_soc_dapm_sync() from machine driver inits (diff) | |
download | linux-d77a14b579f6bfe2d149d3bcc5bd306e20d2d652.tar.xz linux-d77a14b579f6bfe2d149d3bcc5bd306e20d2d652.zip |
ASoC: Remove needless snd_soc_dapm_enable_pin() from machine driver inits
ALSA SoC core marks widgets as connected by default when they are
initialized in snd_soc_dapm_new_control() so there is no need to call
snd_soc_dapm_enable_pin() 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/samsung/smartq_wm8987.c')
-rw-r--r-- | sound/soc/samsung/smartq_wm8987.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/samsung/smartq_wm8987.c b/sound/soc/samsung/smartq_wm8987.c index c3b2adafb7b5..df55db5d3554 100644 --- a/sound/soc/samsung/smartq_wm8987.c +++ b/sound/soc/samsung/smartq_wm8987.c @@ -162,8 +162,6 @@ static int smartq_wm8987_init(struct snd_soc_pcm_runtime *rtd) snd_soc_dapm_nc_pin(dapm, "ROUT1"); /* set endpoints to default off mode */ - snd_soc_dapm_enable_pin(dapm, "Internal Speaker"); - snd_soc_dapm_enable_pin(dapm, "Internal Mic"); snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); /* Headphone jack detection */ |