summaryrefslogtreecommitdiffstats
path: root/drivers/dma/fsl-edma-common.c
diff options
context:
space:
mode:
authorRaag Jadav <raagjadav@gmail.com>2019-06-29 10:20:48 +0200
committerVinod Koul <vkoul@kernel.org>2019-07-07 19:16:43 +0200
commitb7f5b656ffe19e3c65f04e3adeae21ac17227126 (patch)
treea258fa32196a092826f42d0a500725453fe5a63e /drivers/dma/fsl-edma-common.c
parentDocumentation: dmaengine: clean up description of dmatest usage (diff)
downloadlinux-b7f5b656ffe19e3c65f04e3adeae21ac17227126.tar.xz
linux-b7f5b656ffe19e3c65f04e3adeae21ac17227126.zip
dmaengine: at_xdmac: check for non-empty xfers_list before invoking callback
tx descriptor retrieved from an empty xfers_list may not have valid pointers to the callback functions. Avoid calling dmaengine_desc_get_callback_invoke if xfers_list is empty. Signed-off-by: Raag Jadav <raagjadav@gmail.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/fsl-edma-common.c')
0 files changed, 0 insertions, 0 deletions