crypto: caam - do not use mem and emi_slow clock for imx7x
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 22 Feb 2018 14:22:48 +0000 (14:22 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 2 Mar 2018 16:03:40 +0000 (00:03 +0800)
commit699e491bac84a2069c7abeacf2f4367ecb19fa9c
treeb2922d10e5b2d75a421813a452710b7564c5aca6
parentb85149f6f5d5a9279f29a73b2e95342f4d465e73
crypto: caam - do not use mem and emi_slow clock for imx7x

I.MX7x only use two clocks for the CAAM module, so make sure we do not try to
use the mem and the emi_slow clock when running in that imx7d and imx7s machine
type.

Cc: "Horia Geantă" <horia.geanta@nxp.com>
Cc: Aymen Sghaier <aymen.sghaier@nxp.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c