ASoC: wcd9xxx: Fix incorrect detection of mbhc plug type

When MBHC detects plug type as headset or headphone, hphl
status should be 1 in all the DCE measurements. Where as
in case of euro headset hphl status should be 0. Declare
invalid plug type if the above conditions are not satisfied.

Change-Id: I1b8d687904942425eba0759785e6625575b1a308
CRs-fixed: 461300
Signed-off-by: Phani Kumar Uppalapati <phanik@codeaurora.org>
1 file changed