Skip to content
Commit e9fd49f1 authored by Andriy Gelman's avatar Andriy Gelman Committed by Anas Nashif
Browse files

drivers: dma_xmc4xxx: Clear request before callback when overrun happens



If an overrun happens the user may decide to stop the dma which
unsets the DMA line. Currently, the line is always re-enabled after the
callback.

Switch the order around to fix the problem. Also, always reset the line
even if the user doesn't provide a callback.

Signed-off-by: default avatarAndriy Gelman <andriy.gelman@gmail.com>
parent 30c96a99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment