aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/byt-max98090.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2014-06-23 16:29:38 +0300
committerMark Brown <broonie@linaro.org>2014-06-24 16:20:43 +0100
commit725a6dfd014d02b4ad1d00df364a6d4a15ff2ebb (patch)
treeea6a2a59c021940f66723686f6475f5cf57b20fa /sound/soc/intel/byt-max98090.c
parentASoC: Intel: byt-max98090: Move MICBIAS widget to supply of Headset Mic (diff)
downloadlinux-dev-725a6dfd014d02b4ad1d00df364a6d4a15ff2ebb.tar.xz
linux-dev-725a6dfd014d02b4ad1d00df364a6d4a15ff2ebb.zip
ASoC: Intel: byt-max98090: Fix mic detect GPIO polarity
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>
Diffstat (limited to 'sound/soc/intel/byt-max98090.c')
-rw-r--r--sound/soc/intel/byt-max98090.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/byt-max98090.c b/sound/soc/intel/byt-max98090.c
index a3c5f02a60fc..3d06440278ec 100644
--- a/sound/soc/intel/byt-max98090.c
+++ b/sound/soc/intel/byt-max98090.c
@@ -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,
},