Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286122
b: refs/heads/master
c: b62cfc5
h: refs/heads/master
v: v3
  • Loading branch information
Rafal Prylowski authored and Vinod Koul committed Dec 5, 2011
1 parent 386ab95 commit 794ae63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 02f88be9488a3d831f073c1161b1e5feacb9d3ec
refs/heads/master: b62cfc5e0e59d1e0192105144b724b0c332720a0
8 changes: 4 additions & 4 deletions trunk/drivers/dma/ep93xx_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,6 @@ static int m2m_hw_setup(struct ep93xx_dma_chan *edmac)
* This IDE part is totally untested. Values below are taken
* from the EP93xx Users's Guide and might not be correct.
*/
control |= M2M_CONTROL_NO_HDSK;
control |= M2M_CONTROL_RSS_IDE;
control |= M2M_CONTROL_PW_16;

if (data->direction == DMA_MEM_TO_DEV) {
/* Worst case from the UG */
control = (3 << M2M_CONTROL_PWSC_SHIFT);
Expand All @@ -473,6 +469,10 @@ static int m2m_hw_setup(struct ep93xx_dma_chan *edmac)
control |= M2M_CONTROL_SAH;
control |= M2M_CONTROL_TM_RX;
}

control |= M2M_CONTROL_NO_HDSK;
control |= M2M_CONTROL_RSS_IDE;
control |= M2M_CONTROL_PW_16;
break;

default:
Expand Down

0 comments on commit 794ae63

Please sign in to comment.