Loading Documentation/devicetree/bindings/crypto/msm/qcota.txt +1 −0 Original line number Diff line number Diff line Loading @@ -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: Loading drivers/crypto/msm/qce50.c +7 −4 Original line number Diff line number Diff line Loading @@ -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; } Loading Loading
Documentation/devicetree/bindings/crypto/msm/qcota.txt +1 −0 Original line number Diff line number Diff line Loading @@ -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: Loading
drivers/crypto/msm/qce50.c +7 −4 Original line number Diff line number Diff line Loading @@ -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; } Loading