Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cdc710d authored by Xiaoyu Ye's avatar Xiaoyu Ye
Browse files

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: default avatarXiaoyu Ye <benyxy@codeaurora.org>
parent 3944bb8d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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;