commit | 486745ae91237f874fbcb5f51c38e20329e6e540 | [log] [tgz] |
---|---|---|
author | Asish Bhattacharya <asishb@codeaurora.org> | Fri Jan 20 06:41:53 2012 +0530 |
committer | Asish Bhattacharya <asishb@codeaurora.org> | Sat Jan 28 06:15:37 2012 +0530 |
tree | 5d56253a948bf8834f224cdb8f92c382ca09ad8b | |
parent | 1484f46cd13597ba4522538376cbf4d514ea977f [diff] |
ASoC: wcd9310: Configure bandgap/clock block when needed. The current code enables bandgap/clock block at boot but never turns off these blocks when not in use. This results in higher than expected power leakage in idle mode. Disable bandgap and clock blocks when no audio is playing and no headset is inserted. CRs-Fixed: 330961 Change-Id: I1f51d99320ffe03ef1a569349405ad4cbaa9c868 Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>