commit | 6b3a450573fc7d00bb57d267cee66a37829e673c | [log] [tgz] |
---|---|---|
author | Ray Jui <rjui@broadcom.com> | Thu Oct 09 11:44:54 2014 -0700 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:20:53 2020 +0200 |
tree | ca95296715ce03250573198c80d5265780e8a893 | |
parent | efc6e7128c866f670bc139ee8289f941bcecb30a [diff] |
spi: pl022: Fix incorrect dma_unmap_sg commit 3ffa6158f002e096d28ede71be4e0ee8ab20baa2 upstream. When mapped RX DMA entries are unmapped in an error condition when DMA is firstly configured in the driver, the number of TX DMA entries was passed in, which is incorrect Signed-off-by: Ray Jui <rjui@broadcom.com> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Zefan Li <lizefan@huawei.com>