Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1322900
| From | Herbert Xu <herbert@gondor.apana.org.au> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] crypto: atmel-aes - remove calls of clk_prepare() from atomic contexts |
| Date | 2016-02-01 09:30 +0100 |
| Message-ID | <qXi1Z-8lp-43@gated-at.bofh.it> (permalink) |
| References | <qWkyS-5Zz-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@atmel.com> > Reported-by: Matthias Mayr <matthias.mayr@student.kit.edu> Applied to crypto. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] crypto: atmel-aes - remove calls of clk_prepare() from atomic contexts Cyrille Pitchen <cyrille.pitchen@atmel.com> - 2016-01-29 18:00 +0100 Re: [PATCH] crypto: atmel-aes - remove calls of clk_prepare() from atomic contexts Herbert Xu <herbert@gondor.apana.org.au> - 2016-02-01 09:30 +0100
csiph-web