diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2020-09-18 07:23:05 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-09-25 17:48:17 +1000 |
commit | 87f34260f5e09a4578132ad1c05aef2d707dd4bf (patch) | |
tree | edacb867a4aa69bd5d3208233765bb47daa0ff98 /mm/swap_state.c | |
parent | 68cbba1639373608194b825add1c796902adc43a (diff) | |
download | linux-87f34260f5e09a4578132ad1c05aef2d707dd4bf.tar.bz2 |
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>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions