linux-stable/drivers/dma
Lubomir Rintel 69b6e27ca7 dmaengine: mmp_tdma: Reset channel error on release
[ Upstream commit 0c89446379 ]

When a channel configuration fails, the status of the channel is set to
DEV_ERROR so that an attempt to submit it fails. However, this status
sticks until the heat end of the universe, making it impossible to
recover from the error.

Let's reset it when the channel is released so that further use of the
channel with correct configuration is not impacted.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20200419164912.670973-5-lkundrak@v3.sk
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-05-20 08:17:06 +02:00
..
bestcomm
dw dmaengine: dw: platform: Switch to acpi_dma_controller_register() 2020-01-27 14:46:43 +01:00
hsu dmaengine: hsu: Revert "set HSU_CH_MTSR to memory width" 2020-01-27 14:46:39 +01:00
ioat ioat: ioat_alloc_ring() failure handling. 2020-01-17 19:45:54 +01:00
ipu
ppc4xx dmaengine: ppc4xx: fix off-by-one build failure 2018-11-13 11:15:05 -08:00
qcom dmaengine: qcom: bam_dma: Fix resource leak 2019-11-10 11:25:37 +01:00
sh dmaengine: rcar-dmac: set scatter/gather max segment size 2019-11-24 08:23:17 +01:00
xilinx dmaengine: xilinx_dma: Fix control reg update in vdma_channel_set_config 2019-11-12 19:18:33 +01:00
acpi-dma.c
altera-msgdma.c
amba-pl08x.c
at_hdmac.c dmaengine: at_hdmac: fix module unloading 2018-12-05 19:41:25 +01:00
at_hdmac_regs.h
at_xdmac.c dmaengine: at_xdmac: remove BUG_ON macro in tasklet 2019-05-31 06:47:24 -07:00
bcm-sba-raid.c
bcm2835-dma.c dmaengine: bcm2835: Print error in case setting DMA mask fails 2019-10-05 12:47:45 +02:00
coh901318.c dmaengine: coh901318: Fix a double lock bug in dma_tc_handle() 2020-03-11 18:03:08 +01:00
coh901318.h
coh901318_lli.c
cppi41.c dmaengine: cppi41: Fix cppi41_dma_prep_slave_sg() when idle 2019-11-06 12:43:36 +01:00
dma-axi-dmac.c dmaengine: axi-dmac: Don't check the number of frames for alignment 2020-01-27 14:46:30 +01:00
dma-jz4740.c
dma-jz4780.c dmaengine: dma-jz4780: Further residue status fix 2019-11-20 17:59:51 +01:00
dmaengine.c dmaengine: Store module owner in dma_device struct 2020-02-28 16:36:01 +01:00
dmaengine.h
dmatest.c dmaengine: dmatest: Fix iteration non-stop logic 2020-05-05 19:15:53 +02:00
edma.c dmaengine: ti: edma: fix missed failure handling 2020-01-27 14:46:52 +01:00
ep93xx_dma.c
fsl-edma.c
fsl_raid.c
fsl_raid.h
fsldma.c
fsldma.h
idma64.c dmaengine: idma64: Use actual device for DMA transfers 2019-06-15 11:54:59 +02:00
idma64.h dmaengine: idma64: Use actual device for DMA transfers 2019-06-15 11:54:59 +02:00
img-mdc-dma.c
imx-dma.c dmaengine: imx-dma: fix warning comparison of distinct pointer types 2019-04-05 22:31:38 +02:00
imx-sdma.c dmaengine: imx-sdma: fix size check for sdma script_number 2020-01-27 14:46:50 +01:00
iop-adma.c dmaengine: iop-adma: use correct printk format strings 2019-10-05 12:47:51 +02:00
k3dma.c dmaengine: k3dma: Avoid null pointer traversal 2020-01-17 19:45:54 +01:00
Kconfig dmaengine: dma-jz4780: Don't depend on MACH_JZ4780 2019-11-20 17:59:51 +01:00
lpc18xx-dmamux.c
Makefile
mic_x100_dma.c
mic_x100_dma.h
mmp_pdma.c
mmp_tdma.c dmaengine: mmp_tdma: Reset channel error on release 2020-05-20 08:17:06 +02:00
moxart-dma.c
mpc512x_dma.c
mv_xor.c dmaengine: mv_xor: Use correct device for DMA API 2020-01-27 14:46:20 +01:00
mv_xor.h
mv_xor_v2.c
mxs-dma.c
nbpfaxi.c
of-dma.c
omap-dma.c dmaengine: ti: omap-dma: Add cleanup in omap_dma_probe() 2019-09-21 07:15:44 +02:00
pch_dma.c dmaengine: pch_dma.c: Avoid data race between probe and irq handler 2020-05-20 08:17:06 +02:00
pl330.c dmaengine: pl330: _stop: clear interrupt status 2019-05-31 06:47:22 -07:00
pxa_dma.c
s3c24xx-dma.c
sa11x0-dma.c
sirf-dma.c
st_fdma.c
st_fdma.h
ste_dma40.c dmaengine: ste_dma40: fix unneeded variable warning 2019-09-06 10:20:43 +02:00
ste_dma40_ll.c
ste_dma40_ll.h
stm32-dma.c dmaengine: stm32-dma: fix incomplete configuration in cyclic mode 2018-11-13 11:15:05 -08:00
sun4i-dma.c
sun6i-dma.c
tegra20-apb-dma.c dmaengine: tegra-apb: Prevent race conditions of tasklet vs free list 2020-03-11 18:03:04 +01:00
tegra210-adma.c dmaengine: tegra210-adma: Fix crash during probe 2020-01-27 14:46:35 +01:00
ti-dma-crossbar.c dmaengine: ti: dma-crossbar: Fix a memory leak bug 2019-09-21 07:15:43 +02:00
timb_dma.c dmaengine: timb_dma: Use proper enum in td_prep_slave_sg 2019-11-24 08:22:58 +01:00
TODO
txx9dmac.c
txx9dmac.h
virt-dma.c
virt-dma.h
xgene-dma.c
zx_dma.c