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

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

Merge "crypto: msm: Fix clock disable warnings"

parents b3634c8a 61bae48b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ Required properties:
			instance, 1 for second instance, n-1 for n-th instance.

Optional properties:
  - qcom,support-core-clk-only : optional, indicates if the HW supports single crypto core clk.

Example:

+7 −4
Original line number Diff line number Diff line
@@ -5354,10 +5354,13 @@ int qce_disable_clk(void *handle)
		clk_disable_unprepare(pce_dev->ce_bus_clk);
	if (pce_dev->ce_clk)
		clk_disable_unprepare(pce_dev->ce_clk);
	if (pce_dev->ce_core_clk)
		clk_disable_unprepare(pce_dev->ce_core_clk);
	if (pce_dev->support_only_core_src_clk) {
		if (pce_dev->ce_core_src_clk)
			clk_disable_unprepare(pce_dev->ce_core_src_clk);
	} else {
		if (pce_dev->ce_core_clk)
			clk_disable_unprepare(pce_dev->ce_core_clk);
	}

	return rc;
}