projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f75dd58
)
altera_tse: Clear SGDMA's RUN bit in async transfer, like in sync case
author
Joachim Foerster
<joachim.foerster@missinglinkelectronics.com>
Tue, 25 Oct 2011 22:39:54 +0000
(22:39 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 26 Oct 2011 19:25:42 +0000
(21:25 +0200)
Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
drivers/net/altera_tse.c
patch
|
blob
|
history
diff --git
a/drivers/net/altera_tse.c
b/drivers/net/altera_tse.c
index
54a944b
..
47d0047
100644
(file)
--- a/
drivers/net/altera_tse.c
+++ b/
drivers/net/altera_tse.c
@@
-199,6
+199,12
@@
static int alt_sgdma_do_async_transfer(volatile struct alt_sgdma_registers *dev,
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
* that might occlude our error checking later.
*/