Commit 486745ae authored by Asish Bhattacharya's avatar Asish Bhattacharya
Browse files

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: default avatarAsish Bhattacharya <asishb@codeaurora.org>
parent 1484f46c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment