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:
Walter Yang <yandongy@codeaurora.org>
Loading
Please register or sign in to comment