diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2021-05-05 20:26:08 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:22:33 +0200 |
commit | 886e46a6cde3ce4ab6df16cd228868182e766178 (patch) | |
tree | 804cc78591252e6b4f2396c6b7bdd41f2b3e8297 /drivers/spi/spi-dw.h | |
parent | 1240d6b046332663d53fbd851f66f7249e805a38 (diff) |
crypto: ixp4xx - dma_unmap the correct address
[ Upstream commit 9395c58fdddd79cdd3882132cdd04e8ac7ad525f ]
Testing ixp4xx_crypto with CONFIG_DMA_API_DEBUG lead to the following error:
DMA-API: platform ixp4xx_crypto.0: device driver tries to free DMA memory it has not allocated [device address=0x0000000000000000] [size=24 bytes]
This is due to dma_unmap using the wrong address.
Fixes: 0d44dc59b2b4 ("crypto: ixp4xx - Fix handling of chained sg buffers")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/spi/spi-dw.h')
0 files changed, 0 insertions, 0 deletions