summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorFranck LENORMAND <franck.lenormand@nxp.com>2018-04-17 14:28:14 +0200
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commit14c27396d1b123cf80a5a64eaae583da6b7b1809 (patch)
tree26ed80adb33a937f2119faa6d03431696845f345 /drivers/crypto
parent26908ef96060532c514cdb43b2798e97cd4ee027 (diff)
MLK-18011: imx7ulp: caam: Configure CAAM clocks
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/caam/ctrl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
index 5f48ccd974be..d9f4ad0c7309 100644
--- a/drivers/crypto/caam/ctrl.c
+++ b/drivers/crypto/caam/ctrl.c
@@ -597,8 +597,7 @@ static int caam_probe(struct platform_device *pdev)
if (!of_machine_is_compatible("fsl,imx8mq") &&
!of_machine_is_compatible("fsl,imx8qm") &&
- !of_machine_is_compatible("fsl,imx8qxp") &&
- !of_machine_is_compatible("fsl,imx7ulp")) {
+ !of_machine_is_compatible("fsl,imx8qxp")) {
ret = init_clocks(ctrlpriv);
if (ret)
goto disable_clocks;
@@ -734,8 +733,7 @@ iounmap_ctrl:
disable_clocks:
if (!of_machine_is_compatible("fsl,imx8mq") &&
!of_machine_is_compatible("fsl,imx8qm") &&
- !of_machine_is_compatible("fsl,imx8qxp") &&
- !of_machine_is_compatible("fsl,imx7ulp")) {
+ !of_machine_is_compatible("fsl,imx8qxp")) {
clk_disable_unprepare(ctrlpriv->caam_emi_slow);
clk_disable_unprepare(ctrlpriv->caam_aclk);
clk_disable_unprepare(ctrlpriv->caam_mem);