diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2016-04-26 09:29:26 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-28 09:15:50 +0800 |
commit | d1497977fecb9acce05988d6322ad415ef93bb39 (patch) | |
tree | 85d7f633720aa26082a351e3472e2a664e040113 /Documentation/devicetree | |
parent | 6f6438975d6a1afb0f0ac18176ede4e667020db0 (diff) |
crypto: s5p-sss - fix incorrect usage of scatterlists api
sg_dma_len() macro can be used only on scattelists which are mapped, so
all calls to it before dma_map_sg() are invalid. Replace them by proper
check for direct sg segment length read.
Fixes: a49e490c7a8a ("crypto: s5p-sss - add S5PV210 advanced crypto engine support")
Fixes: 9e4a1100a445 ("crypto: s5p-sss - Handle unaligned buffers")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions