ALSA: hda: Disable platform clocks when not required
authorSumit Bhattacharya <sumitb@nvidia.com>
Mon, 28 Nov 2011 08:11:25 +0000 (13:11 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Fri, 23 Mar 2012 22:50:19 +0000 (15:50 -0700)
commit65943d3dc6f11f40beaed377364ac33775b3b2eb
tree0a559a92f02a49901c4a9e1189f3e22da5870084
parent9e7498036d4fb2a5a4b04b2529d16ba1f57c99bb
ALSA: hda: Disable platform clocks when not required

Add support for disabling of platform driver clocks when HDA is idle
to reduce HDA power consumption. Take care of enabling of HDA clocks
before accessing any hardware register.

Bug 904530

Change-Id: I51be7990e900cef3dac376d9635c48cd1ffbfa99
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/66886
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R9405d7739b40c893d731929dfa30377e56121343
sound/pci/hda/hda_intel.c