diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-05-21 13:34:18 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-31 07:28:22 +0200 |
commit | 2a17989acb2e0c73f4631cd73a7ebe37172545c9 (patch) | |
tree | ff51346d26664a11395affcc54cfb81f4317952f /drivers/media/dvb-frontends/tua6100.c | |
parent | 8ebeb03efd1f5f6445e16ec0d796e33c4d5de10a (diff) |
crypto: talitos - Align SEC1 accesses to 32 bits boundaries.
[ Upstream commit c9cca7034b34a2d82e9a03b757de2485c294851c ]
The MPC885 reference manual states:
SEC Lite-initiated 8xx writes can occur only on 32-bit-word boundaries, but
reads can occur on any byte boundary. Writing back a header read from a
non-32-bit-word boundary will yield unpredictable results.
In order to ensure that, cra_alignmask is set to 3 for SEC1.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Fixes: 9c4a79653b35 ("crypto: talitos - Freescale integrated security engine (SEC) driver")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/media/dvb-frontends/tua6100.c')
0 files changed, 0 insertions, 0 deletions