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

Commit e7be7cb7 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scsi: ufs-qcom: fix symbol clocks handling"

parents 683f2556 b096d6c1
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -121,8 +121,10 @@ static void ufs_qcom_disable_lane_clks(struct ufs_qcom_host *host)
	if (!host->is_lane_clks_enabled)
		return;

	if (host->hba->lanes_per_direction > 1)
		clk_disable_unprepare(host->tx_l1_sync_clk);
	clk_disable_unprepare(host->tx_l0_sync_clk);
	if (host->hba->lanes_per_direction > 1)
		clk_disable_unprepare(host->rx_l1_sync_clk);
	clk_disable_unprepare(host->rx_l0_sync_clk);

@@ -162,6 +164,7 @@ static int ufs_qcom_enable_lane_clks(struct ufs_qcom_host *host)
	goto out;

disable_rx_l1:
	if (host->hba->lanes_per_direction > 1)
		clk_disable_unprepare(host->rx_l1_sync_clk);
disable_tx_l0:
	clk_disable_unprepare(host->tx_l0_sync_clk);