diff options
author | Tudor Ambarus <tudor.ambarus@microchip.com> | 2021-02-18 15:09:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-10 12:25:09 +0000 |
commit | 1d309cd688a76fb733f0089d36dc630327b32d59 (patch) | |
tree | 0411c522164b90aeaaf2d379769d42961a0bc93e /sound/core | |
parent | a38fd8748464831584a19438cbb3082b5a2dab15 (diff) | |
download | linux-stable-1d309cd688a76fb733f0089d36dc630327b32d59.tar.gz linux-stable-1d309cd688a76fb733f0089d36dc630327b32d59.tar.bz2 linux-stable-1d309cd688a76fb733f0089d36dc630327b32d59.zip |
spi: spi-ti-qspi: Free DMA resources
Release the RX channel and free the dma coherent memory when
devm_spi_register_master() fails.
Fixes: 5720ec0a6d26 ("spi: spi-ti-qspi: Add DMA support for QSPI mmap read")
Cc: stable@vger.kernel.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20210218130950.90155-1-tudor.ambarus@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions