linux/sound/soc/rockchip
Benson Leung af1b1cefd7
ASoC: rk3399_gru_sound: 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:01:57 +00:00
..
Kconfig ASoC: rockchip: Add support for DMIC codec 2017-08-29 20:12:01 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rk3288_hdmi_analog.c ASoC: rockchip: Remove unnecessary function call 2017-08-21 17:13:20 +01:00
rk3399_gru_sound.c ASoC: rk3399_gru_sound: Map BTN_0 to KEY_PLAYPAUSE 2017-11-27 13:01:57 +00:00
rockchip_i2s.c Merge remote-tracking branch 'asoc/fix/rockchip' into asoc-linus 2017-10-26 09:45:39 +02:00
rockchip_i2s.h ASoC: rockchip: i2s: add other configurable formats 2017-06-13 21:47:40 +01:00
rockchip_max98090.c ASoC: rockchip: constify snd_soc_ops structures 2016-10-24 18:33:17 +01:00
rockchip_pdm.c ASoC: rockchip: constify snd_soc_dai_ops structures 2017-08-15 18:11:10 +01:00
rockchip_pdm.h ASoC: rockchip: add support for pdm controller 2017-06-13 19:09:34 +01:00
rockchip_rt5645.c ASoC: rockchip: constify snd_soc_ops structures 2016-10-24 18:33:17 +01:00
rockchip_spdif.c ASoC: rockchip: add bindings for spdif controller 2017-06-13 21:47:36 +01:00
rockchip_spdif.h Merge remote-tracking branches 'asoc/fix/davinci', 'asoc/fix/es8328', 'asoc/fix/fsl-sai', 'asoc/fix/rockchip', 'asoc/fix/sgtl5000' and 'asoc/fix/wm8974' into asoc-linus 2015-12-23 00:23:27 +00:00