diff options
author | 2020-05-12 16:11:12 +0200 | |
---|---|---|
committer | 2020-05-23 00:08:21 +1000 | |
commit | 100f84beee4874234d04a1ea642b8c9738d7020d (patch) | |
tree | 16b8fcab355ad087e0b241ad288f8bd53eba0a57 /tools/perf/scripts/python | |
parent | crypto: stm32/crc32 - fix multi-instance (diff) | |
download | linux-dev-100f84beee4874234d04a1ea642b8c9738d7020d.tar.xz linux-dev-100f84beee4874234d04a1ea642b8c9738d7020d.zip |
crypto: stm32/crc32 - don't sleep in runtime pm
Ensure stm32_crc_update() and stm32_crc_init() can be called
in atomic context and can't sleep.
Add pm_runtime_irq_safe() to make pm_runtime_get_sync() atomic.
Change runtime pm to call clk_enable()/clk_disable() and change
system pm to unprepare/prepare the clock and force runtime pm
suspend/resume.
Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@st.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions