summaryrefslogtreecommitdiffstats
path: root/crypto/algapi.c
diff options
context:
space:
mode:
authorCyrille Pitchen <cyrille.pitchen@atmel.com>2016-01-29 17:53:33 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2016-01-30 15:05:17 +0100
commit49a20454e0eb907093ec564d4e8f3832bcbf9d53 (patch)
treeffe54799413725319412a5029a43383fac3708c0 /crypto/algapi.c
parentcrypto: algif_hash - wait for crypto_ahash_init() to complete (diff)
downloadlinux-49a20454e0eb907093ec564d4e8f3832bcbf9d53.tar.xz
linux-49a20454e0eb907093ec564d4e8f3832bcbf9d53.zip
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>
Diffstat (limited to 'crypto/algapi.c')
0 files changed, 0 insertions, 0 deletions