From 94ed1d8f5111a8c884e0bddfae070e9e1f15db13 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Fri, 29 Jan 2016 00:45:30 +0530 Subject: [PATCH] ALSA: jack: update jack types Change updates the jack types that will be supported by the platforms. Change-Id: I948c6ffe4cc2cadd710242637c625006715ff7cc Signed-off-by: Banajit Goswami Signed-off-by: Sudheer Papothi Signed-off-by: Meng Wang --- include/sound/jack.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/sound/jack.h b/include/sound/jack.h index 9eb2b5ec1ec4..3b6c552f709d 100644 --- a/include/sound/jack.h +++ b/include/sound/jack.h @@ -43,6 +43,11 @@ enum snd_jack_types { SND_JACK_VIDEOOUT = 0x0010, SND_JACK_AVOUT = SND_JACK_LINEOUT | SND_JACK_VIDEOOUT, SND_JACK_LINEIN = 0x0020, +#ifdef CONFIG_AUDIO_QGKI + SND_JACK_OC_HPHL = 0x0040, + SND_JACK_OC_HPHR = 0x0080, + SND_JACK_UNSUPPORTED = 0x0100, +#endif /* Kept separate from switches to facilitate implementation */ SND_JACK_BTN_0 = 0x4000,