Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHROMIUM: ASoc: Intel: boards: support headset button function for na…
…u88l25 Map the 4 buttons from the Android reference headset to KEY_MEDIA, KEY_VOICECOMMAND, KEY_VOLUMEUP, and KEY_VOLUMEDOWN. Signed-off-by: Benson Leung <bleung@chromium.org> BUG=chrome-os-partner:49333 TEST=Run evtest, selecting the input event for sklnau8825adi Using the Nominal headphones from the kit, check that the buttons for "KEY_VOLUMEDOWN", "KEY_VOLUMEUP", "KEY_MEDIA", and code 582 (?) (should be voice search, but evtest doesn't understand) All of these buttons should work properly. Change-Id: I392c388c0d088f85bea65f6f7a570939ed5e90f4 Reviewed-on: https://chromium-review.googlesource.com/322251 Commit-Ready: Benson Leung <bleung@chromium.org> Tested-by: Benson Leung <bleung@chromium.org> Reviewed-by: Anatol Pomazau <anatol@google.com> Reviewed-by: Dylan Reid <dgreid@chromium.org>
- Loading branch information