android_kernel_sony_sdm845/drivers/dma
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Christophe JAILLET 6ec8ac2b45 dmaengine: tegra210-adma: Fix an error handling path in 'tegra_adma_probe()'
commit 3a5fd0dbd87853f8bd2ea275a5b3b41d6686e761 upstream.

Commit b53611fb1ce9 ("dmaengine: tegra210-adma: Fix crash during probe")
has moved some code in the probe function and reordered the error handling
path accordingly.
However, a goto has been missed.

Fix it and goto the right label if 'dma_async_device_register()' fails, so
that all resources are released.

Fixes: b53611fb1ce9 ("dmaengine: tegra210-adma: Fix crash during probe")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20200516214205.276266-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-27 16:41:59 +02:00
..
bestcomm dmaengine: NO_IRQ removal from powerpc-only drivers 2016-09-14 18:57:38 +05:30
dw dmaengine: dw: platform: Switch to acpi_dma_controller_register() 2020-01-29 10:24:30 +01:00
hsu dmaengine: hsu: Revert "set HSU_CH_MTSR to memory width" 2020-01-29 10:24:27 +01:00
ioat ioat: ioat_alloc_ring() failure handling. 2020-01-23 08:19:37 +01:00
ipu dmaengine: ipu: Make sure the interrupt routine checks all interrupts. 2017-03-12 06:41:52 +01:00
ppc4xx Merge branch 'topic/unmap_cleanup' into for-linus 2016-10-03 09:36:11 +05:30
qcom dmaengine: qcom: bam_dma: Fix resource leak 2019-11-10 11:23:31 +01:00
sh dmaengine: rcar-dmac: Reject zero-length slave DMA requests 2019-08-06 18:29:35 +02:00
xilinx dmaengine: xilinx_dma: Fix control reg update in vdma_channel_set_config 2019-11-12 19:15:54 +01:00
acpi-dma.c
amba-pl08x.c dmaengine: Remove site specific OOM error messages on kzalloc 2016-06-21 21:35:00 +05:30
at_hdmac.c dmaengine: at_hdmac: fix module unloading 2018-12-05 19:42:40 +01:00
at_hdmac_regs.h
at_xdmac.c dmaengine: at_xdmac: remove BUG_ON macro in tasklet 2019-05-31 06:48:18 -07:00
bcm2835-dma.c dmaengine: bcm2835: Print error in case setting DMA mask fails 2019-10-05 12:30:17 +02:00
coh901318.c dmaengine: coh901318: Fix a double lock bug in dma_tc_handle() 2020-03-11 07:53:13 +01:00
coh901318.h
coh901318_lli.c dmaengine: coh901318: use NULL for pointer initialization 2016-09-26 22:28:24 +05:30
cppi41.c dmaengine: cppi41: Fix cppi41_dma_prep_slave_sg() when idle 2019-11-06 12:18:23 +01:00
dma-axi-dmac.c dmaengine: axi-dmac: Don't check the number of frames for alignment 2020-01-29 10:24:22 +01:00
dma-jz4740.c dmaengine: jz4740: disable/unprepare clk if probe fails 2018-02-25 11:05:49 +01:00
dma-jz4780.c dmaengine: dma-jz4780: Further residue status fix 2019-11-25 09:52:11 +01:00
dmaengine.c dmaengine: Fix array index out of bounds warning in __get_unmap_pool() 2017-12-20 10:07:21 +01:00
dmaengine.h dmaengine: add support to provide error result from a DMA transation 2016-08-08 08:11:42 +05:30
dmatest.c dmaengine: dmatest: Fix iteration non-stop logic 2020-05-05 19:14:40 +02:00
edma.c dmaengine: ti: edma: fix missed failure handling 2020-01-29 10:24:35 +01:00
ep93xx_dma.c dmaengine: ep93xx: Don't drain the transfers in terminate_all() 2017-06-14 15:05:57 +02:00
fsl-edma.c dmaengine: fsl-edma: disable clks on all error paths 2018-03-03 10:23:20 +01:00
fsl_raid.c dmaengine updates for 4.8-rc1 2016-10-06 17:13:54 -07:00
fsl_raid.h
fsldma.c Merge branch 'topic/unmap_cleanup' into for-linus 2016-10-03 09:36:11 +05:30
fsldma.h
idma64.c dmaengine: idma64: Use actual device for DMA transfers 2019-06-22 08:17:17 +02:00
idma64.h dmaengine: idma64: Use actual device for DMA transfers 2019-06-22 08:17:17 +02:00
img-mdc-dma.c dmaengine: img-mdc: fix a possible NULL dereference 2016-08-22 11:57:49 +05:30
imx-dma.c dmaengine: imx-dma: fix warning comparison of distinct pointer types 2019-04-05 22:29:14 +02:00
imx-sdma.c dmaengine: imx-sdma: fix size check for sdma script_number 2020-01-29 10:24:34 +01:00
iop-adma.c dmaengine: iop-adma: use correct printk format strings 2019-10-05 12:30:22 +02:00
k3dma.c dmaengine: k3dma: Off by one in k3_of_dma_simple_xlate() 2018-08-24 13:12:33 +02:00
Kconfig dmaengine: dma-jz4780: Don't depend on MACH_JZ4780 2019-11-25 09:52:11 +01:00
lpc18xx-dmamux.c
Makefile dmaengine: mv_xor_v2: new driver 2016-07-12 10:09:53 +05:30
mic_x100_dma.c dmaengine: mic_x100_dma: convert callback to helper function 2016-08-08 08:11:39 +05:30
mic_x100_dma.h
mmp_pdma.c dmaengine: mmp_pdma: convert callback to helper function 2016-08-08 08:11:39 +05:30
mmp_tdma.c dmaengine: mmp_tdma: Reset channel error on release 2020-05-20 08:15:35 +02:00
moxart-dma.c dmaengine: moxart: remove NO_IRQ 2016-09-05 16:40:52 +05:30
mpc512x_dma.c Merge branch 'topic/err_reporting' into for-linus 2016-10-03 09:17:33 +05:30
mv_xor.c dmaengine: mv_xor: Use correct device for DMA API 2020-01-29 10:24:16 +01:00
mv_xor.h dmaengine: mv_xor: Add support for IO (PCIe) src/dst areas 2016-09-15 21:13:59 +05:30
mv_xor_v2.c dmaengine: mv_xor_v2: kill the tasklets upon exit 2018-09-26 08:36:34 +02:00
mxs-dma.c Merge branch 'topic/no_irq' into for-linus 2016-10-03 09:18:29 +05:30
nbpfaxi.c dmaengine: nbpfaxi: convert callback to helper function 2016-08-08 08:11:40 +05:30
of-dma.c dmaengine: of_dma: approximate an average distribution 2016-05-14 13:34:10 +05:30
omap-dma.c dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe() 2019-09-21 07:14:20 +02:00
pch_dma.c dmaengine: pch_dma.c: Avoid data race between probe and irq handler 2020-05-20 08:15:34 +02:00
pl330.c dmaengine: pl330: _stop: clear interrupt status 2019-05-31 06:48:15 -07:00
pxa_dma.c dmaengine: pxa_dma: fix debug message 2016-08-19 16:17:26 +05:30
s3c24xx-dma.c Merge branch 'topic/compile_test' into for-linus 2016-10-03 09:16:03 +05:30
sa11x0-dma.c dmaengine: sa11x0: use correct print specifiers for size_t 2016-09-26 22:29:26 +05:30
sirf-dma.c Merge branch 'topic/no_irq' into for-linus 2016-10-03 09:18:29 +05:30
ste_dma40.c dmaengine: ste_dma40: fix unneeded variable warning 2019-09-06 10:19:41 +02:00
ste_dma40_ll.c dmaengine: ste_dma40_ll: make d40_width_to_bits static 2016-06-08 08:59:55 +05:30
ste_dma40_ll.h
stm32-dma.c dmaengine: stm32-dma: Fix null pointer dereference in stm32_dma_tx_status 2017-12-09 22:01:50 +01:00
sun4i-dma.c remove lots of IS_ERR_VALUE abuses 2016-05-27 15:26:11 -07:00
sun6i-dma.c dmaengine: sun6i: fix the uninitialized value for v_lli 2016-11-14 10:35:58 +05:30
tegra20-apb-dma.c dmaengine: tegra-apb: Prevent race conditions of tasklet vs free list 2020-03-11 07:53:12 +01:00
tegra210-adma.c dmaengine: tegra210-adma: Fix an error handling path in 'tegra_adma_probe()' 2020-05-27 16:41:59 +02:00
ti-dma-crossbar.c dmaengine: ti: dma-crossbar: Fix a memory leak bug 2019-09-21 07:14:20 +02:00
timb_dma.c dmaengine: timb_dma: Use proper enum in td_prep_slave_sg 2019-11-25 09:53:24 +01:00
TODO
txx9dmac.c dmaengine: txx9dmac: convert callback to helper function 2016-08-08 08:11:41 +05:30
txx9dmac.h
virt-dma.c dmaengine: virt-dma: convert callback to helper function 2016-08-08 08:11:41 +05:30
virt-dma.h dmaengine: virt-dma: move function declarations 2016-10-01 11:41:39 +05:30
xgene-dma.c dmaengine: xgene-dma: move unmap to before callback 2016-08-08 08:11:43 +05:30
zx296702_dma.c dmaengine: zx: fix build warning 2018-02-25 11:05:53 +01:00