android_kernel_samsung_msm8976/drivers/crypto
Zhen Kong 4a6863a7e9 crypto: msm: Don't enable crypto clock in PM resume
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>
2014-08-07 11:24:06 -07:00
..
amcc
caam
msm crypto: msm: Don't enable crypto clock in PM resume 2014-08-07 11:24:06 -07:00
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 crypto: msm: Compilation flag in Kconfig For FIPS 2014-06-30 18:22:01 -07:00
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