From 224a365720124f4dce2b53e6102051c51a110ad2 Mon Sep 17 00:00:00 2001 From: Bhalchandra Gajare Date: Sun, 26 Aug 2012 16:17:46 -0700 Subject: [PATCH] ALSA: Extend sound jack to support upto 8 key events. ALSA sound jack currently only supports upto 6 key events on a single jack. Extend sound jack to support upto 8 buttons CRs-fixed: 390846 Signed-off-by: Bhalchandra Gajare (cherry picked from commit 33cca1e3db8b961f898daa776b99621def9219d6) (cherry picked from commit c012ad9fb0a819842ecd7ff672c19bbe17bf2f82) Change-Id: I33a46404b67b83721afde56b45defb40b529391a Signed-off-by: Sudhir Sharma --- include/sound/jack.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sound/jack.h b/include/sound/jack.h index 1089ba41b117..8e8c1330fae0 100644 --- a/include/sound/jack.h +++ b/include/sound/jack.h @@ -64,7 +64,7 @@ struct snd_jack { int type; const char *id; char name[100]; - unsigned int key[6]; /* Keep in sync with definitions above */ + unsigned int key[8]; /* Keep in sync with definitions above */ void *private_data; void (*private_free)(struct snd_jack *); };