Loading asoc/codecs/bolero/tx-macro.c +5 −0 Original line number Diff line number Diff line Loading @@ -1510,6 +1510,8 @@ static int tx_macro_tx_va_mclk_enable(struct tx_macro_priv *tx_priv, __func__); goto done; } bolero_clk_rsc_fs_gen_request(tx_priv->dev, true); if (tx_priv->tx_mclk_users == 0) { regmap_update_bits(regmap, BOLERO_CDC_TX_TOP_CSR_FREQ_MCLK, Loading Loading @@ -1571,6 +1573,8 @@ static int tx_macro_tx_va_mclk_enable(struct tx_macro_priv *tx_priv, BOLERO_CDC_TX_CLK_RST_CTRL_MCLK_CONTROL, 0x01, 0x00); } bolero_clk_rsc_fs_gen_request(tx_priv->dev, false); ret = bolero_clk_rsc_request_clock(tx_priv->dev, TX_CORE_CLK, VA_CORE_CLK, Loading Loading @@ -2062,6 +2066,7 @@ static int tx_macro_probe(struct platform_device *pdev) pm_runtime_set_autosuspend_delay(&pdev->dev, AUTO_SUSPEND_DELAY); pm_runtime_use_autosuspend(&pdev->dev); pm_runtime_set_suspended(&pdev->dev); pm_suspend_ignore_children(&pdev->dev, true); pm_runtime_enable(&pdev->dev); return 0; Loading Loading
asoc/codecs/bolero/tx-macro.c +5 −0 Original line number Diff line number Diff line Loading @@ -1510,6 +1510,8 @@ static int tx_macro_tx_va_mclk_enable(struct tx_macro_priv *tx_priv, __func__); goto done; } bolero_clk_rsc_fs_gen_request(tx_priv->dev, true); if (tx_priv->tx_mclk_users == 0) { regmap_update_bits(regmap, BOLERO_CDC_TX_TOP_CSR_FREQ_MCLK, Loading Loading @@ -1571,6 +1573,8 @@ static int tx_macro_tx_va_mclk_enable(struct tx_macro_priv *tx_priv, BOLERO_CDC_TX_CLK_RST_CTRL_MCLK_CONTROL, 0x01, 0x00); } bolero_clk_rsc_fs_gen_request(tx_priv->dev, false); ret = bolero_clk_rsc_request_clock(tx_priv->dev, TX_CORE_CLK, VA_CORE_CLK, Loading Loading @@ -2062,6 +2066,7 @@ static int tx_macro_probe(struct platform_device *pdev) pm_runtime_set_autosuspend_delay(&pdev->dev, AUTO_SUSPEND_DELAY); pm_runtime_use_autosuspend(&pdev->dev); pm_runtime_set_suspended(&pdev->dev); pm_suspend_ignore_children(&pdev->dev, true); pm_runtime_enable(&pdev->dev); return 0; Loading