Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 453bd317 authored by Yandong Yang's avatar Yandong Yang
Browse files

ASoc: wcd: mbhc: Change keycode mapping and linein_th



1. Change the key code mapping of buttons as below
 according to Android L spec.

Button0 0-70 ohm - hook key
Button1 110-180 ohm - voice assist
Button2 210-290 ohm - volume up
Button3 360-680 ohm - volume down

2. Report SW_LINEOUT_INSERT
if headset speaker impedance is larger than 5 Kohm

CRs-Fixed: 863767
Change-Id: Icb12e00a2839e11ef6b947b158c58e9e0f1404b2
Signed-off-by: default avatarWalter Yang <yandongy@codeaurora.org>
parent d5dab523
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment