[alsa-devel] [PATCH 3/6] ASoC: Intel: byt-max98090: Do not report SND_JACK_LINEIN

Jarkko Nikula jarkko.nikula at linux.intel.com
Mon Jun 23 15:29:39 CEST 2014


Headset jack has only mono microphone input.

Signed-off-by: Jarkko Nikula <jarkko.nikula at linux.intel.com>
---
 sound/soc/intel/byt-max98090.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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,
 	},
 };
-- 
2.0.0



More information about the Alsa-devel mailing list