ASoC: Codec: fix headset-mic issue
authorSameer Pujar <spujar@nvidia.com>
Tue, 13 Oct 2015 11:06:07 +0000 (16:06 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 19 Oct 2015 22:30:54 +0000 (15:30 -0700)
commite267ca27debeee7ac6dcaf8883dcafc665869410
tree27f30dbe8df1402fa65ff730478459655760309f
parent2821e9f1d517169d21ac8b18b648afd27bf438a1
ASoC: Codec: fix headset-mic issue

LDO2 and MICBIAS power supplies are turned ON during
jack detection to detect headset-mic. The micbias voltage
turned OFF if there is no headset-mic.
This should be tried on E2614 with FSA rework

Bug 1686170
Bug 200135470

Reviewed-on: http://git-master/r/805033
(cherry picked from commit b05badedae5c0445949c25ebf5b4d44adb638a00)

Change-Id: I88b4901e00b88fae7b7fb1ceacb738dd2fc488df
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: http://git-master/r/816713
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
sound/soc/codecs/rt5659.c