projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5b37bf
)
ASoC: Intel: byt-max98090: Fix mic detect GPIO polarity
author
Jarkko Nikula
<jarkko.nikula@linux.intel.com>
Mon, 23 Jun 2014 13:29:38 +0000
(16:29 +0300)
committer
Mark Brown
<broonie@linaro.org>
Tue, 24 Jun 2014 15:20:43 +0000
(16:20 +0100)
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>
sound/soc/intel/byt-max98090.c
patch
|
blob
|
history
diff --git
a/sound/soc/intel/byt-max98090.c
b/sound/soc/intel/byt-max98090.c
index a3c5f02a60fc57f05a4ef842881213a76349a744..3d06440278ec1c6eeb50c09382ed42c4aae26e95 100644
(file)
--- 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,
},