Skip to content
Commit b7f5b656 authored by Raag Jadav's avatar Raag Jadav Committed by Vinod Koul
Browse files

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: default avatarRaag Jadav <raagjadav@gmail.com>
Acked-by: default avatarLudovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 9dcb98a2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment