mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-01 02:21:16 +00:00
4a6863a7e9
If a PM suspend happens right after resume, crypto driver returns -EBUSY, since reaper worker thread has not kicked in. The suspend can only succeed after timer kicks in to disable crypto clock and free bus. The solution is as the following. Don't enable crypto clock and allocate bus bandwidth when entering resume if there is no outstanding crypto requests. The next crypto operation will enable crypto clock then. Further more, this patch shortens the reaper timer from 1 second to 200 ms. Change-Id: I116cf1454b020ee2886c8bf6696b6411a5df83b6 Signed-off-by: Zhen Kong <zkong@codeaurora.org> |
||
---|---|---|
.. | ||
amcc | ||
caam | ||
msm | ||
nx | ||
ux500 | ||
atmel-aes-regs.h | ||
atmel-aes.c | ||
atmel-sha-regs.h | ||
atmel-sha.c | ||
atmel-tdes-regs.h | ||
atmel-tdes.c | ||
bfin_crc.c | ||
geode-aes.c | ||
geode-aes.h | ||
hifn_795x.c | ||
ixp4xx_crypto.c | ||
Kconfig | ||
Makefile | ||
mv_cesa.c | ||
mv_cesa.h | ||
n2_asm.S | ||
n2_core.c | ||
n2_core.h | ||
omap-aes.c | ||
omap-sham.c | ||
padlock-aes.c | ||
padlock-sha.c | ||
picoxcell_crypto.c | ||
picoxcell_crypto_regs.h | ||
s5p-sss.c | ||
sahara.c | ||
talitos.c | ||
talitos.h | ||
tegra-aes.c | ||
tegra-aes.h |