]> 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)
commit21fdffc94d9757d09c8b7f264186c50d7c8f5f43
tree78e6b55c956dc064af49754693190f7c54a14e95
parentcac4ec1e949a2a3a2e868d9100affa0a0e975c89
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