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)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 18 Apr 2012 04:56:33 +0000 (09:56 +0530)
commit51f839d9bed784fe2439364c3e1b1189b67a5e5a
treefb47bcab2499d5e0c09275b962d92c240fce1f26
parentd9cffc7309211b2fce2272d08e03a436bab37ee2
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