]> Git Repo - linux.git/commit
crypto: atmel-aes - remove calls of clk_prepare() from atomic contexts
authorCyrille Pitchen <[email protected]>
Fri, 29 Jan 2016 16:53:33 +0000 (17:53 +0100)
committerHerbert Xu <[email protected]>
Sat, 30 Jan 2016 14:05:17 +0000 (22:05 +0800)
commit49a20454e0eb907093ec564d4e8f3832bcbf9d53
treeffe54799413725319412a5029a43383fac3708c0
parentfe09786178f9df713a4b2dd6b93c0a722346bf5e
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: [email protected]
Signed-off-by: Cyrille Pitchen <[email protected]>
Reported-by: Matthias Mayr <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
drivers/crypto/atmel-aes.c
This page took 0.052084 seconds and 4 git commands to generate.