diff options
| author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2015-01-22 15:47:16 -0800 | 
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2015-01-27 18:32:04 +0000 | 
| commit | ddf9ea21f5fa0832c9711ae13dd467d1f5c4cd87 (patch) | |
| tree | a72a5aa558b54829932842b7e5b73bef262908b1 /lib/mpi/mpiutil.c | |
| parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
ASoC: ts3a227e: Remap keys to match Android headset specification
ts3a227e datasheet says typical key resistance is
  key1 50 Ohm
  key2 135 Ohm
  key3 240 Ohm
  key4 470 Ohm
The android headset specification expect buttons impedance:
  A (MEDIA) 0-70 Ohm
  D (VOICECOMMAND) 110-180 Ohm
  B (VOLUMEUP) 210-290 Ohm
  C (VOLUMEDOWN) 360-680 Ohm
Thus key mapping should be
  key1 - MEDIA
  key2 - VOICECOMMAND
  key3 - VOLUMEUP
  key3 - VOLUMEDOWN
Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Acked-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
