ASoC: Tegra: Tristate DAP pins
authorRavindra Lokhande <rlokhande@nvidia.com>
Mon, 1 Apr 2013 16:47:40 +0000 (21:47 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:06:36 +0000 (13:06 -0700)
commitc61e3b1b358eaece1020562cedbb841b8f995a1d
treec26e6e7897006a6e5ea1d9d571a0748ba6f645b2
parent5e04d34c5c5150dfb3120a2e7a1bdecd707edb5b
ASoC: Tegra: Tristate DAP pins

We need to set DAP pins to normal before starting playback/record and
set it to tristate after playback/record. If we don't tristate then
power leakage can happen.

Bug 1241669
Bug 1258742

Change-Id: Id29382b50d499a966adc4715fe1e36bbcc460853
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/215103
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
sound/soc/tegra/tegra_aic325x.c
sound/soc/tegra/tegra_asoc_utils.c
sound/soc/tegra/tegra_asoc_utils.h
sound/soc/tegra/tegra_max98090.c