linux-stable/drivers/crypto
Cyrille Pitchen 49a20454e0 crypto: atmel-aes - remove calls of clk_prepare() from atomic contexts
clk_prepare()/clk_unprepare() must not be called within atomic context.

This patch calls clk_prepare() once for all from atmel_aes_probe() and
clk_unprepare() from atmel_aes_remove().

Then calls of clk_prepare_enable()/clk_disable_unprepare() were replaced
by calls of clk_enable()/clk_disable().

Cc: stable@vger.kernel.org
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Reported-by: Matthias Mayr <matthias.mayr@student.kit.edu>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2016-01-30 22:05:17 +08:00
..
amcc crypto: amcc - check return value of sg_nents_for_len 2015-11-17 22:00:38 +08:00
caam crypto: caam - make write transactions bufferable on PPC platforms 2016-01-25 21:47:44 +08:00
ccp crypto: ccp - use to_pci_dev and to_platform_device 2015-12-25 21:41:05 +08:00
marvell crypto: marvell - check return value of sg_nents_for_len 2015-11-17 22:00:35 +08:00
nx crypto: nx-842 - Mask XERS0 bit in return value 2015-12-17 16:42:12 +08:00
qat crypto: qat - update init_esram for C3xxx dev type 2016-01-18 18:16:32 +08:00
qce crypto: qce - check return value of sg_nents_for_len 2015-11-17 22:00:36 +08:00
rockchip crypto: rockchip - fix possible deadlock 2015-12-04 22:21:48 +08:00
sunxi-ss crypto: sun4i-ss - add missing statesize 2015-11-17 22:00:42 +08:00
ux500 crypto: ux500 - Use precalculated hash from headers 2015-12-22 20:43:40 +08:00
vmx powerpc updates for 4.5 2016-01-15 13:18:47 -08:00
atmel-aes-regs.h crypto: atmel-aes - add support to GCM mode 2015-12-23 18:19:58 +08:00
atmel-aes.c crypto: atmel-aes - remove calls of clk_prepare() from atomic contexts 2016-01-30 22:05:17 +08:00
atmel-sha-regs.h
atmel-sha.c crypto: atmel-sha - Removed unused variable "err" 2015-12-17 16:42:13 +08:00
atmel-tdes-regs.h
atmel-tdes.c crypto: atmel - use devm_xxx() managed function 2015-10-14 22:23:38 +08:00
bfin_crc.c crypto: bfin_crc - replace sg_count by sg_nents 2015-09-21 23:05:53 +08:00
bfin_crc.h
geode-aes.c
geode-aes.h
hifn_795x.c crypto: hifn_795x, picoxcell - use ablkcipher_request_cast 2015-12-29 21:32:44 +08:00
img-hash.c
ixp4xx_crypto.c crypto: ixp4xx - Delete unnecessary checks before the function call "dma_pool_destroy" 2015-11-17 22:00:41 +08:00
Kconfig crypto: CRYPTO_DEV_ATMEL_AES should depend on HAS_DMA 2016-01-18 18:16:34 +08:00
Makefile crypto: rockchip - add crypto driver for rk3288 2015-11-27 21:19:32 +08:00
mv_cesa.c
mv_cesa.h
mxs-dcp.c
n2_asm.S
n2_core.c crypto: n2 - Use precalculated hash from headers 2015-12-22 20:43:37 +08:00
n2_core.h
omap-aes.c crypto: omap - Removed unused variable "err" 2015-12-17 16:42:13 +08:00
omap-des.c crypto: omap - Removed unused variable "err" 2015-12-17 16:42:13 +08:00
omap-sham.c
padlock-aes.c Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2016-01-12 18:51:14 -08:00
padlock-sha.c x86/cpufeature: Remove unused and seldomly used cpu_has_xx macros 2015-12-19 11:49:55 +01:00
picoxcell_crypto.c crypto: hifn_795x, picoxcell - use ablkcipher_request_cast 2015-12-29 21:32:44 +08:00
picoxcell_crypto_regs.h
s5p-sss.c
sahara.c crypto: sahara - fix debug output for 64-bit dma_addr_t 2015-12-10 22:39:50 +08:00
talitos.c crypto: talitos - add new crypto modes 2015-12-04 22:29:56 +08:00
talitos.h crypto: talitos - add new crypto modes 2015-12-04 22:29:56 +08:00