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

Skip to content
Commit f3987379 authored by Yandong Yang's avatar Yandong Yang Committed by Gerrit - the friendly Code Review server
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: 950540
Change-Id: Iadad0ab39276bcab54f15b97456ae0e4b9ed59de
Signed-off-by: default avatarWalter Yang <yandongy@codeaurora.org>
parent 4a2f4120
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