Re: [PATCH] crypto: atmel-aes - remove calls of clk_prepare() from atomic contexts

2016-02-01 Thread Herbert Xu
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()/c

[PATCH] crypto: atmel-aes - remove calls of clk_prepare() from atomic contexts

2016-01-29 Thread Cyrille Pitchen
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().