|
@@ -732,6 +732,10 @@ static int lpass_cdc_va_macro_tx_va_mclk_enable(
|
|
|
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__);
|