ASoC: wcd: prevent flipping the switch twice for special headset
If special headset(US type) is inserted after Euro headset, it
initially gets detected as cross connection and flips the switch.
Here, HS_COMP_RESULT gets set and the switch is flipped back due
to wrong condition check and so the headset is detected as
unsupported type on completion of work.
Change-Id: I503c99f9f4829767010aa1ea56fa8fcc1aa98a2d
Signed-off-by:
Simmi Pateriya <simmip@codeaurora.org>
Loading
Please register or sign in to comment