diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-05-03 13:27:08 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-04 08:51:19 -0400 |
commit | 76387a52e20ead38a3e322f28611d4a57f169f8a (patch) | |
tree | 042ce725a748d107d54f5d2e8898ff4fa7b60ce5 | |
parent | e6963005b2a36a11dbc059006ba52a10e2fecfbe (diff) |
ASoC: smartq: Remove unnecessary snd_soc_dapm_disable_pin()
The "Headphone Jack" widget is managed by the jack detection layer, there
is no need to manually disable.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/samsung/smartq_wm8987.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/samsung/smartq_wm8987.c b/sound/soc/samsung/smartq_wm8987.c index dfbe2db1c407..c75f98d4931d 100644 --- a/sound/soc/samsung/smartq_wm8987.c +++ b/sound/soc/samsung/smartq_wm8987.c | |||
@@ -147,9 +147,6 @@ static int smartq_wm8987_init(struct snd_soc_pcm_runtime *rtd) | |||
147 | snd_soc_dapm_nc_pin(dapm, "OUT3"); | 147 | snd_soc_dapm_nc_pin(dapm, "OUT3"); |
148 | snd_soc_dapm_nc_pin(dapm, "ROUT1"); | 148 | snd_soc_dapm_nc_pin(dapm, "ROUT1"); |
149 | 149 | ||
150 | /* set endpoints to default off mode */ | ||
151 | snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); | ||
152 | |||
153 | /* Headphone jack detection */ | 150 | /* Headphone jack detection */ |
154 | err = snd_soc_card_jack_new(rtd->card, "Headphone Jack", | 151 | err = snd_soc_card_jack_new(rtd->card, "Headphone Jack", |
155 | SND_JACK_HEADPHONE, &smartq_jack, | 152 | SND_JACK_HEADPHONE, &smartq_jack, |