target: msm8952: Call crypto clock disable function
An instance of crypto clock disable function is missing
in target_uninit, result of which crypto clocks remain
voted in case of target boots from fastboot mode to kernel.
Change-Id: I374482be843b1ca2a6661fbaee78353ab52b8c5a
diff --git a/target/msm8952/init.c b/target/msm8952/init.c
index 3262b61..47d3d04 100644
--- a/target/msm8952/init.c
+++ b/target/msm8952/init.c
@@ -547,7 +547,10 @@
mmc_put_card_to_sleep(dev);
sdhci_mode_disable(&dev->host);
if (crypto_initialized())
+ {
crypto_eng_cleanup();
+ clock_ce_disable(CE1_INSTANCE);
+ }
if (target_is_ssd_enabled())
clock_ce_disable(CE1_INSTANCE);