ANDROID: ALSA: jack: Update supported jack switch types

Change adds support for jack switch types supported
by platform.

This change also squashes the below changes-

include: increase allowed SW INPUT device ID from 15 to 32

Increase the Input device SW ID from 15 to 32. This is needed
to accommodate more input devices.

Bug: 142489397
Change-Id: If77f8b37b4db72ada2b5d8a3095265eef90ab62b
Signed-off-by: Gopikrishnaiah Anandan <[email protected]>
Signed-off-by: Banajit Goswami <[email protected]>
Signed-off-by: Sudheer Papothi <[email protected]>
Signed-off-by: Meng Wang <[email protected]>
This commit is contained in:
Banajit Goswami 2016-11-21 17:39:12 -08:00 • committed by Todd Kjos
commit 3cf5c71422
4 changed files with 10 additions and 7 deletions

View file

@ -53,9 +53,6 @@ enum snd_jack_types {
SND_JACK_BTN_5 = 0x0200,
};
/* Keep in sync with definitions above */
#define SND_JACK_SWITCH_TYPES 6
struct snd_jack {
struct list_head kctl_list;
struct snd_card *card;