commit | bbf2cb1ea1e1428589d7f4d652bed15b265ce92d | [log] [tgz] |
---|---|---|
author | Nicolas Toromanoff <nicolas.toromanoff@st.com> | Wed Sep 16 08:33:44 2020 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 25 17:48:14 2020 +1000 |
tree | cec14bb4328b0a7f435453ad1a9cfdb515a0af98 | |
parent | c4c75fcbd8b9cc9c9fcddcb8ee68ab680d486c01 [diff] |
crypto: stm32/crc32 - Avoid lock if hardware is already used If STM32 CRC device is already in use, calculate CRC by software. This will release CPU constraint for a concurrent access to the hardware, and avoid masking irqs during the whole block processing. Fixes: 7795c0baf5ac ("crypto: stm32/crc32 - protect from concurrent accesses") Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@st.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>