]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: amlogic - enable working on big endian kernel
authorCorentin Labbe <clabbe@baylibre.com>
Sun, 17 Nov 2019 16:09:53 +0000 (16:09 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Nov 2019 10:48:39 +0000 (18:48 +0800)
commit6473f8652c4f9e43cdb3bcc6c4171aa3fe15ec96
tree2325ae2f55419dacb47d6f2526386c5014fc84a5
parentc9af3f0c939b6ceaac2c0f36dc2ea175d897747a
crypto: amlogic - enable working on big endian kernel

On big endian kernel, the GXL crypto driver does not works.
This patch do the necessary modification to permit it to work on BE
kernel (removing bitfield and adds some cpu_to_le32).

Fixes: 0e9a1b234cc7 ("crypto: amlogic - Add crypto accelerator for amlogic GXL")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/amlogic/amlogic-gxl-cipher.c
drivers/crypto/amlogic/amlogic-gxl.h