diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2016-02-05 13:45:13 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-02-06 15:23:56 +0800 |
commit | c033042aa8f69894df37dabcaa0231594834a4e4 (patch) | |
tree | d1539b2c8ddd462ce08fee3003e8d38c84e30a73 /drivers/crypto/marvell | |
parent | d961436c11482e974b702c8324426208f00cd7c4 (diff) | |
download | linux-c033042aa8f69894df37dabcaa0231594834a4e4.tar.gz linux-c033042aa8f69894df37dabcaa0231594834a4e4.tar.bz2 linux-c033042aa8f69894df37dabcaa0231594834a4e4.zip |
crypto: atmel-sha - 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_sha_probe() and
clk_unprepare() from atmel_sha_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 'drivers/crypto/marvell')
0 files changed, 0 insertions, 0 deletions