mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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:
parent
a6a81642f1
commit
224a365720
1 changed files with 1 additions and 1 deletions
|
@ -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 *);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue