linux-stable/sound/soc/intel
Benson Leung 38a5882e42
ASoC: Intel: kbl_rt5663_max98927: Map BTN_0 to KEY_PLAYPAUSE
The Android 3.5mm Headset jack specification mentions that BTN_0 should
be mapped to KEY_MEDIA, but this is less logical than KEY_PLAYPAUSE,
which has much broader userspace support.

For example, the Chrome OS userspace now supports KEY_PLAYPAUSE to toggle
play/pause of videos and audio, but does not handle KEY_MEDIA.

Furthermore, Android itself now supports KEY_PLAYPAUSE equivalently, as the
new USB headset spec requires KEY_PLAYPAUSE for BTN_0.
https://source.android.com/devices/accessories/headset/usb-headset-spec

Signed-off-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-11-27 13:05:32 +00:00
..
atom ASoC: Intel: move all ACPI match tables to common module 2017-10-21 11:21:31 +01:00
baytrail ASoC: intel: constify snd_pcm_ops structures 2017-08-14 17:23:08 +01:00
boards ASoC: Intel: kbl_rt5663_max98927: Map BTN_0 to KEY_PLAYPAUSE 2017-11-27 13:05:32 +00:00
common ASoC: intel: include linux/module.h as needed 2017-11-02 11:20:37 +00:00
haswell ASoC: Intel: make snd_soc_platform_driver const 2017-08-14 17:22:29 +01:00
skylake ASoC: intel: initialize return value properly 2017-11-07 11:55:25 +01:00
Kconfig ASoC: Intel: fix Kconfig dependencies 2017-11-02 11:20:24 +00:00
Makefile ASoC: Intel: move all ACPI match tables to common module 2017-10-21 11:21:31 +01:00