commit | 87f34260f5e09a4578132ad1c05aef2d707dd4bf | [log] [tgz] |
---|---|---|
author | Corentin Labbe <clabbe@baylibre.com> | Fri Sep 18 07:23:05 2020 +0000 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 25 17:48:17 2020 +1000 |
tree | edacb867a4aa69bd5d3208233765bb47daa0ff98 | |
parent | 68cbba1639373608194b825add1c796902adc43a [diff] |
crypto: sun8i-ce - handle endianness of t_common_ctl t_common_ctl is LE32 so we need to convert its value before using it. This value is only used on H6 (ignored on other SoCs) and not handling the endianness cause failure on xRNG/hashes operations on H6 when running BE. Fixes: 06f751b61329 ("crypto: allwinner - Add sun8i-ce Crypto Engine") Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>