ASoC: Tegra WM8753 machine: Disable regulator when not in use
authorSumit Bhattacharya <sumitb@nvidia.com>
Wed, 7 Dec 2011 15:00:34 +0000 (20:00 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 15 Dec 2011 06:19:12 +0000 (11:19 +0530)
commit7b15aa600d2da8f4b9068b156abaf04124a91269
treec794de2989bf649689dece0d1efa11cd54eb59c6
parentcdd76764cc44d9b6091672af235d52a377a0a4d2
ASoC: Tegra WM8753 machine: Disable regulator when not in use

On whistler audio regulator used to remain enabled always independent
of whether audio playback/capture is going on or not. Only enable
audio regulator when any playback/capture is going on using audio
codec.

Change-Id: Ifb8bf722434306a429aa08345215efde75c8ab38
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/68695
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
sound/soc/tegra/tegra_wm8753.c