mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
ASoC: wcd938x: clear digital CDC analog CLK bit 0x08
Update the bit 0x08 of WCD938X_DIGITAL_CDC_ANA_CLK_CTL to 0 during DAPM post PMD. Change-Id: Iea7d3878e9c56f8e219240007b8dbe30683d3161 Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
This commit is contained in:
parent
3944bb8d29
commit
0cdc710d1d
1 changed files with 4 additions and 1 deletions
|
|
@ -1883,9 +1883,12 @@ static int wcd938x_enable_req(struct snd_soc_dapm_widget *w,
|
|||
default:
|
||||
break;
|
||||
}
|
||||
if (wcd938x->adc_count == 0)
|
||||
if (wcd938x->adc_count == 0) {
|
||||
snd_soc_component_update_bits(component,
|
||||
WCD938X_DIGITAL_CDC_ANA_CLK_CTL, 0x10, 0x00);
|
||||
snd_soc_component_update_bits(component,
|
||||
WCD938X_DIGITAL_CDC_ANA_CLK_CTL, 0x08, 0x00);
|
||||
}
|
||||
break;
|
||||
};
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue