Skip to content
Snippets Groups Projects
Commit 337aff53 authored by Joachim Foerster's avatar Joachim Foerster Committed by Wolfgang Denk
Browse files

altera_tse: Clear SGDMA's RUN bit in async transfer, like in sync case


Signed-off-by: default avatarJoachim Foerster <joachim.foerster@missinglinkelectronics.com>
parent f75dd584
No related branches found
No related tags found
No related merge requests found
...@@ -198,6 +198,12 @@ static int alt_sgdma_do_async_transfer(volatile struct alt_sgdma_registers *dev, ...@@ -198,6 +198,12 @@ static int alt_sgdma_do_async_transfer(volatile struct alt_sgdma_registers *dev,
if (counter >= ALT_TSE_SGDMA_BUSY_WATCHDOG_CNTR) if (counter >= ALT_TSE_SGDMA_BUSY_WATCHDOG_CNTR)
debug("Timeout waiting sgdma in do async!\n"); debug("Timeout waiting sgdma in do async!\n");
/*
* Clear the RUN bit in the control register. This is needed
* to restart the SGDMA engine later on.
*/
dev->control = 0;
/* /*
* Clear any (previous) status register information * Clear any (previous) status register information
* that might occlude our error checking later. * that might occlude our error checking later.
......
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