spi: spi-ti-qspi: Free DMA resources
Release the RX channel and free the dma coherent memory when devm_spi_register_master() fails. Fixes: 5720ec0a ("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.comSigned-off-by: Mark Brown <broonie@kernel.org>
Showing
Please register or sign in to comment