mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
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 <agopik@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org> Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org> Signed-off-by: Meng Wang <mwang@codeaurora.org>
This commit is contained in:
parent
51a518ad90
commit
3cf5c71422
4 changed files with 10 additions and 7 deletions
|
|
@ -808,7 +808,10 @@
|
|||
#define SW_LINEIN_INSERT 0x0d /* set = inserted */
|
||||
#define SW_MUTE_DEVICE 0x0e /* set = device disabled */
|
||||
#define SW_PEN_INSERTED 0x0f /* set = pen inserted */
|
||||
#define SW_MAX 0x0f
|
||||
#define SW_HPHL_OVERCURRENT 0x10 /* set = over current on left hph */
|
||||
#define SW_HPHR_OVERCURRENT 0x11 /* set = over current on right hph */
|
||||
#define SW_UNSUPPORT_INSERT 0x12 /* set = unsupported device inserted */
|
||||
#define SW_MAX 0x20
|
||||
#define SW_CNT (SW_MAX+1)
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue