asoc: tegra: ALC5640 machine: Fix ext mic detect issue
authorManoj Gangwal <mgangwal@nvidia.com>
Fri, 16 Mar 2012 13:25:26 +0000 (18:25 +0530)
committerSimone Willett <swillett@nvidia.com>
Fri, 6 Apr 2012 20:45:08 +0000 (13:45 -0700)
commit4a4d99fa97ca5eead786d7a235f45133af9a1a4a
tree7614ec1db026d4f0d0399a866369918102f3fc3c
parente90779216bacf8dcd76efd8e167e9cc3e4b46d28
asoc: tegra: ALC5640 machine: Fix ext mic detect issue

Enable/disable the ext mic depending on the jack notification
for insertion/removal comes.This is done to save the Audio power.

Bug 955019

Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
(cherry picked from commit 7a22037fd4a274637a5bdb18a8c5452fe58aad32)
Change-Id: I1a8b47c4e9c424a914f546b48c86a6fb07d8e42a
Reviewed-on: http://git-master/r/93956
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
sound/soc/tegra/tegra_rt5640.c