mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 08:36:54 +07:00
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>
This commit is contained in:
parent
a5b37bf36f
commit
725a6dfd01
@ -83,6 +83,7 @@ static struct snd_soc_jack_gpio hs_jack_gpios[] = {
|
|||||||
{
|
{
|
||||||
.name = "mic-gpio",
|
.name = "mic-gpio",
|
||||||
.idx = 1,
|
.idx = 1,
|
||||||
|
.invert = 1,
|
||||||
.report = SND_JACK_MICROPHONE | SND_JACK_LINEIN,
|
.report = SND_JACK_MICROPHONE | SND_JACK_LINEIN,
|
||||||
.debounce_time = 200,
|
.debounce_time = 200,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user