Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358522
b: refs/heads/master
c: ed30933
h: refs/heads/master
v: v3
  • Loading branch information
Cong Ding authored and Vinod Koul committed Jan 20, 2013
1 parent 12d55b3 commit 3d43c7d
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 661f7cb55c61fa7491e0caf21e55f59e5bc49abe
refs/heads/master: ed30933e6f3dbeaaab1de91e1bec25f42d5d32df
6 changes: 2 additions & 4 deletions trunk/drivers/dma/mmp_pdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,10 +617,8 @@ static int mmp_pdma_control(struct dma_chan *dchan, enum dma_ctrl_cmd cmd,
else if (maxburst == 32)
chan->dcmd |= DCMD_BURST32;

if (cfg) {
chan->dir = cfg->direction;
chan->drcmr = cfg->slave_id;
}
chan->dir = cfg->direction;
chan->drcmr = cfg->slave_id;
chan->dev_addr = addr;
break;
default:
Expand Down

0 comments on commit 3d43c7d

Please sign in to comment.