projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
170dd56
)
crypto: mv_cesa - initialise the interrupt status field to zero
author
Phil Sutter
<phil.sutter@viprinet.com>
Tue, 12 Jun 2012 08:41:21 +0000
(16:41 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 12 Jun 2012 08:41:21 +0000
(16:41 +0800)
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mv_cesa.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/mv_cesa.c
b/drivers/crypto/mv_cesa.c
index b0b2f02518f81460201e83daf9587397374086a7..904623d45c62f2081c4aa13e1e48128beb6ceb44 100644
(file)
--- a/
drivers/crypto/mv_cesa.c
+++ b/
drivers/crypto/mv_cesa.c
@@
-1082,6
+1082,7
@@
static int mv_probe(struct platform_device *pdev)
if (!IS_ERR(cp->clk))
clk_prepare_enable(cp->clk);
+ writel(0, cpg->reg + SEC_ACCEL_INT_STATUS);
writel(SEC_INT_ACCEL0_DONE, cpg->reg + SEC_ACCEL_INT_MASK);
writel(SEC_CFG_STOP_DIG_ERR, cpg->reg + SEC_ACCEL_CFG);
writel(SRAM_CONFIG, cpg->reg + SEC_ACCEL_DESC_P0);