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
Change-Id: Ie5945357c4cb59c067d61421632944f7a90435b5
CRs-fixed: 390846
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
diff --git a/include/sound/jack.h b/include/sound/jack.h
index 1089ba4..8e8c133 100644
--- a/include/sound/jack.h
+++ b/include/sound/jack.h
@@ -64,7 +64,7 @@
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 *);
};