ASoC: wcd9xxx: Disable external clock buffer when mclk is not in use
External clock buffer being turned on even when mclk is gated results in power leakage. Disable external clock buffer when mclk is not in use. Change-Id: Iea45a4e8ab4560a093c44800ddd7b1311471c646 Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
parent
773f15cdab
commit
52f708c2a3
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ static int wcd_resmgr_disable_clk_mclk(struct wcd9xxx_resmgr_v2 *resmgr)
|
|||
WCD9335_ANA_CLK_TOP,
|
||||
0x04, 0x00);
|
||||
wcd_resmgr_codec_reg_update_bits(resmgr,
|
||||
WCD934X_CLK_SYS_MCLK_PRG, 0x01, 0x0);
|
||||
WCD934X_CLK_SYS_MCLK_PRG, 0x81, 0x00);
|
||||
resmgr->clk_type = WCD_CLK_OFF;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue