mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
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: Soumya Managoli <quic_c_smanag@quicinc.com>
This commit is contained in:
parent
bd9de2dd82
commit
7743f757cb
1 changed files with 4 additions and 0 deletions
|
|
@ -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__);
|
||||
|
|
|
|||
Loading…
Reference in a new issue