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)
commitf8fc397e13107f925186ee742e9e8dfbfe9a3d03
tree78e6b55c956dc064af49754693190f7c54a14e95
parent2ca426a24dd75e775ece1466ae45e019f0035b8d
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