diff options
author | Marek Vasut <[email protected]> | 2020-10-05 15:22:29 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-10-05 16:54:13 +0100 |
commit | 45f0bbdafd26d6d772172563b30bff561cec9133 (patch) | |
tree | 0485e263d32edbf5d0b84631f2dcab9c782a6864 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1c33524f79853f41e80390b1a223254aadd30bd4 (diff) |
spi: imx: Fix freeing of DMA channels if spi_bitbang_start() fails
If the SPI controller has has_dmamode = true and spi_bitbang_start() fails
in spi_imx_probe(), then the driver must release the DMA channels acquired
in spi_imx_sdma_init() by calling spi_imx_sdma_exit() in the fail path.
Fixes: f62caccd12c1 ("spi: spi-imx: add DMA support")
Signed-off-by: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Robin Gong <[email protected]>
Cc: Shawn Guo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions