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

Commit c8c7d942 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: bolero: tx-macro: Update VA macro clock sequence"

parents 45d02bcf 296867b4
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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,
@@ -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,
@@ -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;