diff options
| author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2016-02-05 13:45:13 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-17 12:31:05 -0800 |
| commit | ee36c87a655325a7b5e442a9650a782db4ea20d2 (patch) | |
| tree | 5149a81614368248348a6c0317662a724fbf76f6 /tools/perf/scripts/python | |
| parent | 714e7964f79e3b74e16b1d040efa34705da891f8 (diff) | |
crypto: atmel-sha - remove calls of clk_prepare() from atomic contexts
commit c033042aa8f69894df37dabcaa0231594834a4e4 upstream.
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().
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
