projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
898d86a
)
crypto: omap-sham - force word alignment on the xmit-buf also
author
Tero Kristo
<t-kristo@ti.com>
Wed, 24 May 2017 07:35:34 +0000
(10:35 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sat, 10 Jun 2017 04:04:20 +0000
(12:04 +0800)
This was previously missed from the code, causing SDMA to hang in
some cases where the buffer ended up being not aligned.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-sham.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/omap-sham.c
b/drivers/crypto/omap-sham.c
index dc091b27affa9af7cd43d31d3d4259ad149ddd12..9ad9d399daf11caf582bd106738559e655667817 100644
(file)
--- a/
drivers/crypto/omap-sham.c
+++ b/
drivers/crypto/omap-sham.c
@@
-226,7
+226,7
@@
struct omap_sham_dev {
struct dma_chan *dma_lch;
struct tasklet_struct done_task;
u8 polling_mode;
- u8 xmit_buf[BUFLEN];
+ u8 xmit_buf[BUFLEN]
OMAP_ALIGNED
;
unsigned long flags;
struct crypto_queue queue;