Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c28e8f21 authored by Tero Kristo's avatar Tero Kristo Committed by Herbert Xu
Browse files

crypto: omap-sham - force word alignment on the xmit-buf also



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: default avatarTero Kristo <t-kristo@ti.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 898d86a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;