Skip to content

Commit

Permalink
ASoC: Intel: byt-max98090: Fix mic detect GPIO polarity
Browse files Browse the repository at this point in the history
Mic detect GPIO is active low when headset microphone is detected. Found
both by debugging and checking the schematics.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Jarkko Nikula authored and Mark Brown committed Jun 24, 2014
1 parent a5b37bf commit 725a6df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/intel/byt-max98090.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ static struct snd_soc_jack_gpio hs_jack_gpios[] = {
{
.name = "mic-gpio",
.idx = 1,
.invert = 1,
.report = SND_JACK_MICROPHONE | SND_JACK_LINEIN,
.debounce_time = 200,
},
Expand Down

0 comments on commit 725a6df

Please sign in to comment.