asoc: lahaina: Report correct key code of headset buttons

Change-Id: I8ecc1609d929ac5a8d4d73711b15b4a741d910a3
This commit is contained in:
dianlujitao 2018-09-12 13:52:55 +08:00 committed by Giovanni Ricca
parent 8dad31ef64
commit aad13807fd
No known key found for this signature in database

View file

@ -1059,8 +1059,8 @@ static struct wcd_mbhc_config wcd_mbhc_cfg = {
.swap_gnd_mic = NULL,
.hs_ext_micbias = true,
.key_code[0] = KEY_MEDIA,
.key_code[1] = BTN_1,
.key_code[2] = BTN_2,
.key_code[1] = KEY_VOLUMEUP,
.key_code[2] = KEY_VOLUMEDOWN,
.key_code[3] = 0,
.key_code[4] = 0,
.key_code[5] = 0,