Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358514
b: refs/heads/master
c: a725dcc
h: refs/heads/master
v: v3
  • Loading branch information
Andy Shevchenko authored and Vinod Koul committed Jan 12, 2013
1 parent fbc1c4a commit 2f576c2
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: 5127c4f8a314b798459985d93f7829cf9cf9bbc3
refs/heads/master: a725dcc0342b4d9ffc6ae4aedc2973d902aabeb1
2 changes: 1 addition & 1 deletion trunk/drivers/dma/ste_dma40.c
Original file line number Diff line number Diff line change
Expand Up @@ -2337,7 +2337,7 @@ static struct dma_async_tx_descriptor *d40_prep_slave_sg(struct dma_chan *chan,
unsigned long dma_flags,
void *context)
{
if (direction != DMA_DEV_TO_MEM && direction != DMA_MEM_TO_DEV)
if (!is_slave_direction(direction))
return NULL;

return d40_prep_sg(chan, sgl, sgl, sg_len, direction, dma_flags);
Expand Down

0 comments on commit 2f576c2

Please sign in to comment.