]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: cht-bsw-rt5672: Add key-mappings for the headset buttons
authorHans de Goede <hdegoede@redhat.com>
Tue, 21 Aug 2018 11:43:37 +0000 (13:43 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 28 Aug 2018 19:38:10 +0000 (20:38 +0100)
commit39b7a0ba5f7601c3007d33885f0885e0b35baf25
tree78e6b55c956dc064af49754693190f7c54a14e95
parent80d007936c16fdfe76f0a4b19651e801f25ec494
ASoC: Intel: cht-bsw-rt5672: Add key-mappings for the headset buttons

Having the headset buttons send BTN_0, BTN_1 and BTN_2 events is not
really useful. Add mappings to PLAYPAUSE VOLUME_UP and VOLUME_DOWN like
we do in other Intel machine drivers.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/cht_bsw_rt5672.c