mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
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>
This commit is contained in:
parent
170dd56dfc
commit
5741d2eeae
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue