Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358512
b: refs/heads/master
c: 0efcdb2
h: refs/heads/master
v: v3
  • Loading branch information
Andy Shevchenko authored and Vinod Koul committed Jan 12, 2013
1 parent 61db587 commit 2c76b88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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: f44b92f4dd2f6caf326b149e0b9636a1d4e50184
refs/heads/master: 0efcdb20f4a83967c99da3d3bef9018f86532fae
3 changes: 1 addition & 2 deletions trunk/drivers/dma/ep93xx_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -903,8 +903,7 @@ static int ep93xx_dma_alloc_chan_resources(struct dma_chan *chan)
switch (data->port) {
case EP93XX_DMA_SSP:
case EP93XX_DMA_IDE:
if (data->direction != DMA_MEM_TO_DEV &&
data->direction != DMA_DEV_TO_MEM)
if (!is_slave_direction(data->direction))
return -EINVAL;
break;
default:
Expand Down

0 comments on commit 2c76b88

Please sign in to comment.