Skip to content
Snippets Groups Projects
Commit 9b74dc56 authored by Andrew Gabbasov's avatar Andrew Gabbasov Committed by Stefano Babic
Browse files

fsl_esdhc: Fix DMA transfer completion waiting loop


Rework the waiting for transfer completion loop condition
to continue waiting until both Transfer Complete and DMA End
interrupts occur. Checking of DLA bit in Present State register
looks not needed in addition to interrupts status checking,
so it can be removed from the condition. Also, DMA Error
condition is added to the list of data errors, checked in the loop.

Signed-off-by: default avatarAndrew Gabbasov <andrew_gabbasov@mentor.com>
parent 54899fc8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment