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 <gajare@codeaurora.org>
(cherry picked from commit 33cca1e3db8b961f898daa776b99621def9219d6)
(cherry picked from commit c012ad9fb0a819842ecd7ff672c19bbe17bf2f82)

Change-Id: I33a46404b67b83721afde56b45defb40b529391a
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
This commit is contained in:
Bhalchandra Gajare 2012-08-26 16:17:46 -07:00 committed by Stephen Boyd
parent a6a81642f1
commit 224a365720
1 changed files with 1 additions and 1 deletions

View File

@ -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 *);
};