Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218811
b: refs/heads/master
c: 9cb047d
h: refs/heads/master
i:
  218809: 2646ed2
  218807: cf906e1
v: v3
  • Loading branch information
Nicolas Kaiser authored and Dan Williams committed Oct 19, 2010
1 parent cfe3426 commit 5deb251
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 5fc6d897fde352bad5db5767e7260741a8cdd9e9
refs/heads/master: 9cb047d4d19fc15791a64d900d483405eae6200d
2 changes: 1 addition & 1 deletion trunk/drivers/dma/timb_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ static int __devinit td_probe(struct platform_device *pdev)
pdata->channels + i;

/* even channels are RX, odd are TX */
if (((i % 2) && pchan->rx) || (!(i % 2) && !pchan->rx)) {
if ((i % 2) == pchan->rx) {
dev_err(&pdev->dev, "Wrong channel configuration\n");
err = -EINVAL;
goto err_tasklet_kill;
Expand Down

0 comments on commit 5deb251

Please sign in to comment.