aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_devfreq.c
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2020-10-05 13:22:29 +0000
committerMark Brown <[email protected]>2020-10-05 15:54:13 +0000
commit45f0bbdafd26d6d772172563b30bff561cec9133 (patch)
tree0485e263d32edbf5d0b84631f2dcab9c782a6864 /drivers/gpu/drm/lima/lima_devfreq.c
parentMAINTAINERS: Add maintainer of DW APB SSI driver (diff)
downloadkernel-45f0bbdafd26d6d772172563b30bff561cec9133.tar.gz
kernel-45f0bbdafd26d6d772172563b30bff561cec9133.zip
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 'drivers/gpu/drm/lima/lima_devfreq.c')
0 files changed, 0 insertions, 0 deletions