[PATCH] crypto: atmel-aes - remove calls of clk_prepare() from atomic contexts
Herbert Xu
herbert at gondor.apana.org.au
Mon Feb 1 00:22:13 PST 2016
On Fri, Jan 29, 2016 at 05:53:33PM +0100, Cyrille Pitchen wrote:
> 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().
>
> Signed-off-by: Cyrille Pitchen <cyrille.pitchen at atmel.com>
> Reported-by: Matthias Mayr <matthias.mayr at student.kit.edu>
Applied to crypto.
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the linux-arm-kernel
mailing list