Skip to content
Commit a94a16c4 authored by Declan Snyder's avatar Declan Snyder Committed by Daniel DeGrasse
Browse files

dma_mcux_edma: Abort transfer before clear status



The transfer must be aborted before clearing the status flags otherwise
they will be set again before the transfer is aborted and stay set
causing infinite interrupt.

Also, elevate the log message to error level and give it actual useful
information. The "flag" being logged before literally just is a bit that
says if there is an error or not, which we already know by virtue of
handling an error. The channel error status has actual details about
what was the reason of the error. Also this status should be reported
before the transfer is aborted to get the right status.

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent d590d27e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment