From: Jarkko Nikula Date: Mon, 23 Jun 2014 13:29:39 +0000 (+0300) Subject: ASoC: Intel: byt-max98090: Do not report SND_JACK_LINEIN X-Git-Tag: Ubuntu-5.13.0-19.19~19533^2~4^2^5~8 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=6a0cdccad87a7032440f204c04a599e4bcc8656b;p=mirror_ubuntu-jammy-kernel.git ASoC: Intel: byt-max98090: Do not report SND_JACK_LINEIN Headset jack has only mono microphone input. Signed-off-by: Jarkko Nikula Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/byt-max98090.c b/sound/soc/intel/byt-max98090.c index 3d06440278ec..165ab6d6c4a3 100644 --- a/sound/soc/intel/byt-max98090.c +++ b/sound/soc/intel/byt-max98090.c @@ -84,7 +84,7 @@ static struct snd_soc_jack_gpio hs_jack_gpios[] = { .name = "mic-gpio", .idx = 1, .invert = 1, - .report = SND_JACK_MICROPHONE | SND_JACK_LINEIN, + .report = SND_JACK_MICROPHONE, .debounce_time = 200, }, };