crypto: Replace clk_enable and clk_disable APIs.

The clock drivers have redefined the meaning of clk_enable and
clk_disable. Hence, new clock APIs are introduced.
 -replace clk_enable API with clk_prepare_enable.
 -replace clk_disable API with clk_disable_unprepare.

Change-Id: I99c8ea34661b385948311bb05ca481c2a0387f9e
Signed-off-by: Ramesh Masavarapu <rameshm@codeaurora.org>
diff --git a/drivers/crypto/msm/qce40.c b/drivers/crypto/msm/qce40.c
index 0d3c4c3..111bc49 100644
--- a/drivers/crypto/msm/qce40.c
+++ b/drivers/crypto/msm/qce40.c
@@ -2505,7 +2505,7 @@
 	pce_dev->ce_clk = ce_clk;
 
 	/* Enable CE core clk */
-	*rc = clk_enable(pce_dev->ce_core_clk);
+	*rc = clk_prepare_enable(pce_dev->ce_core_clk);
 	if (*rc) {
 		if (pce_dev->ce_core_src_clk != NULL)
 			clk_put(pce_dev->ce_core_src_clk);
@@ -2514,9 +2514,9 @@
 		goto err;
 	} else {
 		/* Enable CE clk */
-		*rc = clk_enable(pce_dev->ce_clk);
+		*rc = clk_prepare_enable(pce_dev->ce_clk);
 		if (*rc) {
-			clk_disable(pce_dev->ce_core_clk);
+			clk_disable_unprepare(pce_dev->ce_core_clk);
 			if (pce_dev->ce_core_src_clk != NULL)
 				clk_put(pce_dev->ce_core_src_clk);
 			clk_put(pce_dev->ce_core_clk);
@@ -2567,8 +2567,8 @@
 	if (pce_dev->coh_vmem)
 		dma_free_coherent(pce_dev->pdev, pce_dev->memsize,
 				pce_dev->coh_vmem, pce_dev->coh_pmem);
-	clk_disable(pce_dev->ce_clk);
-	clk_disable(pce_dev->ce_core_clk);
+	clk_disable_unprepare(pce_dev->ce_clk);
+	clk_disable_unprepare(pce_dev->ce_core_clk);
 
 	if (pce_dev->ce_core_src_clk != NULL)
 		clk_put(pce_dev->ce_core_src_clk);