Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab6f7d0d authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Mark Brown
Browse files

ASoC: Intel: byt-max98090: Do not enable MAX98090 microphone detection



It turned out there is no need to enable microphone detection in MAX98090
codec. Headset microphone is anyway detected by a GPIO signal from another
chip and headset button presses cannot be detected either because a signal
needed for it is not connected.

Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 24988992
Loading
Loading
Loading
Loading
+3 −7
Original line number Diff line number Diff line
@@ -118,13 +118,9 @@ static int byt_max98090_init(struct snd_soc_pcm_runtime *runtime)
	if (ret)
		return ret;

	ret = snd_soc_jack_add_gpiods(card->dev->parent, jack,
	return snd_soc_jack_add_gpiods(card->dev->parent, jack,
				       ARRAY_SIZE(hs_jack_gpios),
				       hs_jack_gpios);
	if (ret)
		return ret;

	return max98090_mic_detect(codec, jack);
}

static struct snd_soc_dai_link byt_max98090_dais[] = {