From 3dce7164d2e3405a5557bcb909a87f5a7d9ad337 Mon Sep 17 00:00:00 2001 From: Sudheer Papothi Date: Fri, 29 Jan 2016 00:45:30 +0530 Subject: [PATCH] ANDROID: GKI: ALSA: jack: update jack types Change updates the jack types that will be supported by the platforms. Test: build Bug: 151372815 Change-Id: I948c6ffe4cc2cadd710242637c625006715ff7cc Signed-off-by: Banajit Goswami Signed-off-by: Sudheer Papothi Signed-off-by: Meng Wang (cherry picked from commit e7fcc54d6dd81ea5d24ac01202ace1738026a3ba) Signed-off-by: Hridya Valsaraju --- include/sound/jack.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/sound/jack.h b/include/sound/jack.h index 1e84bfb553cf..471541b9db39 100644 --- a/include/sound/jack.h +++ b/include/sound/jack.h @@ -58,6 +58,9 @@ enum snd_jack_types { SND_JACK_VIDEOOUT = 0x0010, SND_JACK_AVOUT = SND_JACK_LINEOUT | SND_JACK_VIDEOOUT, SND_JACK_LINEIN = 0x0020, + SND_JACK_OC_HPHL = 0x0040, + SND_JACK_OC_HPHR = 0x0080, + SND_JACK_UNSUPPORTED = 0x0100, /* Kept separate from switches to facilitate implementation */ SND_JACK_BTN_0 = 0x4000,