summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2020-10-05 16:22:29 +0300
committerMark Brown <broonie@kernel.org>2020-10-05 18:54:13 +0300
commit45f0bbdafd26d6d772172563b30bff561cec9133 (patch)
tree0485e263d32edbf5d0b84631f2dcab9c782a6864 /Documentation/devicetree/bindings/spi
parent1c33524f79853f41e80390b1a223254aadd30bd4 (diff)
downloadlinux-45f0bbdafd26d6d772172563b30bff561cec9133.tar.xz
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 <marex@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Mark Brown <broonie@kernel.org> Cc: NXP Linux Team <linux-imx@nxp.com> Cc: Robin Gong <b38343@freescale.com> Cc: Shawn Guo <shawnguo@kernel.org> Link: https://lore.kernel.org/r/20201005132229.513119-1-marex@denx.de Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi')
0 files changed, 0 insertions, 0 deletions