linux/drivers/crypto/inside-secure
Gregory CLEMENT 3819c95fec crypto: inside-secure - fix clock management
commit f962eb46e7 upstream.

In this driver the clock is got but never put when the driver is removed
or if there is an error in the probe.

Using the managed version of clk_get() allows to let the kernel take care
of it.

Fixes: 1b44c5a60c ("crypto: inside-secure - add SafeXcel EIP197 crypto
engine driver")
cc: stable@vger.kernel.org
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2018-04-08 14:29:50 +02:00
..
Makefile crypto: inside-secure - add SafeXcel EIP197 crypto engine driver 2017-06-10 12:04:21 +08:00
safexcel.c crypto: inside-secure - fix clock management 2018-04-08 14:29:50 +02:00
safexcel.h crypto: inside-secure - EIP97 support 2017-12-22 20:03:36 +11:00
safexcel_cipher.c crypto: inside-secure - EIP97 support 2017-12-22 20:03:36 +11:00
safexcel_hash.c crypto: inside-secure - fix hash when length is a multiple of a block 2018-01-05 18:43:06 +11:00
safexcel_ring.c crypto: inside-secure - use the base_end pointer in ring rollback 2017-06-20 11:21:48 +08:00