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

Commit 7743f757 authored by Soumya Managoli's avatar Soumya Managoli
Browse files

ASoC: bolero: Disable va_swr gpio on clk failure



During SSR TX_MCLK failure is observed when both SVA
and playback is active. Mute is observed post SSR
even though there is no clk enable failure.

Issue is seen due to va_swr gpio not being disabled
during SSR and hence not enabled properly once uc
resumes after SSR.

Change-Id: I674bbc80edaaa35b53855166156dba41a32ef45d
Signed-off-by: default avatarSoumya Managoli <quic_c_smanag@quicinc.com>
parent bd9de2dd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -704,6 +704,10 @@ static int va_macro_tx_va_mclk_enable(struct va_macro_priv *va_priv,
							   TX_CORE_CLK,
							   false);
			if (ret < 0) {
				if (va_priv->swr_clk_users == 0) {
					msm_cdc_pinctrl_select_sleep_state(
							va_priv->va_swr_gpio_p);
				}
				dev_err_ratelimited(va_priv->dev,
					"%s: swr request clk failed\n",
					__func__);