crypto: starfive - Update hash module irq handling
authorJia Jie Ho <jiajie.ho@starfivetech.com>
Mon, 12 Jun 2023 08:52:29 +0000 (16:52 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 Jun 2023 08:15:36 +0000 (16:15 +0800)
commitdf12284ad3dc1db11bdc784265a4947d3db29c06
treeda1bfcc5c6933d9ea8e6a7fe2c5f93122bd8c29b
parent1abc89661ad3cd18d8c6af5c2584bcc63df43bf2
crypto: starfive - Update hash module irq handling

Hash driver needs to check the value of irq mask register before writing
as it will mask irq of other modules.

Co-developed-by: Huan Feng <huan.feng@starfivetech.com>
Signed-off-by: Huan Feng <huan.feng@starfivetech.com>
Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/starfive/jh7110-hash.c