aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/mv_cesa.c
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2012-06-12 04:41:21 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2012-06-12 04:41:21 -0400
commit5741d2eeaee28b37a4711a1776f716b274f3d2e4 (patch)
treee9aec13bd95eb84a6f0d8ee275476854dc04c924 /drivers/crypto/mv_cesa.c
parent170dd56dfc3b13e7dafd48e27f67fddb3f17ef2a (diff)
crypto: mv_cesa - initialise the interrupt status field to zero
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/mv_cesa.c')
-rw-r--r--drivers/crypto/mv_cesa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/mv_cesa.c b/drivers/crypto/mv_cesa.c
index b0b2f02518f8..904623d45c62 100644
--- a/drivers/crypto/mv_cesa.c
+++ b/drivers/crypto/mv_cesa.c
@@ -1082,6 +1082,7 @@ static int mv_probe(struct platform_device *pdev)
1082 if (!IS_ERR(cp->clk)) 1082 if (!IS_ERR(cp->clk))
1083 clk_prepare_enable(cp->clk); 1083 clk_prepare_enable(cp->clk);
1084 1084
1085 writel(0, cpg->reg + SEC_ACCEL_INT_STATUS);
1085 writel(SEC_INT_ACCEL0_DONE, cpg->reg + SEC_ACCEL_INT_MASK); 1086 writel(SEC_INT_ACCEL0_DONE, cpg->reg + SEC_ACCEL_INT_MASK);
1086 writel(SEC_CFG_STOP_DIG_ERR, cpg->reg + SEC_ACCEL_CFG); 1087 writel(SEC_CFG_STOP_DIG_ERR, cpg->reg + SEC_ACCEL_CFG);
1087 writel(SRAM_CONFIG, cpg->reg + SEC_ACCEL_DESC_P0); 1088 writel(SRAM_CONFIG, cpg->reg + SEC_ACCEL_DESC_P0);