Skip to content

Commit

Permalink
ASoC: smartq: Remove unnecessary snd_soc_dapm_disable_pin()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed May 4, 2015
1 parent e696300 commit 76387a5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/soc/samsung/smartq_wm8987.c
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,6 @@ static int smartq_wm8987_init(struct snd_soc_pcm_runtime *rtd)
snd_soc_dapm_nc_pin(dapm, "OUT3");
snd_soc_dapm_nc_pin(dapm, "ROUT1");

/* set endpoints to default off mode */
snd_soc_dapm_disable_pin(dapm, "Headphone Jack");

/* Headphone jack detection */
err = snd_soc_card_jack_new(rtd->card, "Headphone Jack",
SND_JACK_HEADPHONE, &smartq_jack,
Expand Down

0 comments on commit 76387a5

Please sign in to comment.