diff options
author | Tero Kristo <t-kristo@ti.com> | 2020-05-27 15:24:27 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-06-04 22:03:41 +1000 |
commit | 63832a0c6fe180aa34d2a77052aa501be6281c99 (patch) | |
tree | 6e49fc660e4d244dc52cbc39ab3972869022186e /drivers/mfd/twl6030-irq.c | |
parent | 6395166d7a19019d5e9574eb9ecdaf0028abb887 (diff) | |
download | linux-63832a0c6fe180aa34d2a77052aa501be6281c99.tar.gz linux-63832a0c6fe180aa34d2a77052aa501be6281c99.tar.bz2 linux-63832a0c6fe180aa34d2a77052aa501be6281c99.zip |
crypto: omap-sham - fix very small data size handling
With very small data sizes, the whole data can end up in the xmit
buffer. This code path does not set the sg_len properly which causes the
core dma framework to crash. Fix by adding the proper size in place.
Also, the data length must be a multiple of block-size, so extend the
DMA data size while here.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/mfd/twl6030-irq.c')
0 files changed, 0 insertions, 0 deletions