Commit 5741d2ee authored by Phil Sutter's avatar Phil Sutter Committed by Herbert Xu

crypto: mv_cesa - initialise the interrupt status field to zero

Signed-off-by: default avatarPhil Sutter <phil.sutter@viprinet.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 170dd56d
...@@ -1082,6 +1082,7 @@ static int mv_probe(struct platform_device *pdev) ...@@ -1082,6 +1082,7 @@ static int mv_probe(struct platform_device *pdev)
if (!IS_ERR(cp->clk)) if (!IS_ERR(cp->clk))
clk_prepare_enable(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_INT_ACCEL0_DONE, cpg->reg + SEC_ACCEL_INT_MASK);
writel(SEC_CFG_STOP_DIG_ERR, cpg->reg + SEC_ACCEL_CFG); writel(SEC_CFG_STOP_DIG_ERR, cpg->reg + SEC_ACCEL_CFG);
writel(SRAM_CONFIG, cpg->reg + SEC_ACCEL_DESC_P0); writel(SRAM_CONFIG, cpg->reg + SEC_ACCEL_DESC_P0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment