Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168861
b: refs/heads/master
c: 4499a24
h: refs/heads/master
i:
  168859: fd9861c
v: v3
  • Loading branch information
Dan Williams committed Nov 20, 2009
1 parent 3427bd1 commit 38d0400
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b57014def9afc2bd8a62299d2f51b77dad5ae0c7
refs/heads/master: 4499a24dec00e037da7d09caccad45e7594a9c19
4 changes: 4 additions & 0 deletions trunk/drivers/dma/dmaengine.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,11 +632,15 @@ static bool device_has_all_tx_types(struct dma_device *device)
#if defined(CONFIG_ASYNC_XOR) || defined(CONFIG_ASYNC_XOR_MODULE)
if (!dma_has_cap(DMA_XOR, device->cap_mask))
return false;
if (!dma_has_cap(DMA_XOR_VAL, device->cap_mask))
return false;
#endif

#if defined(CONFIG_ASYNC_PQ) || defined(CONFIG_ASYNC_PQ_MODULE)
if (!dma_has_cap(DMA_PQ, device->cap_mask))
return false;
if (!dma_has_cap(DMA_PQ_VAL, device->cap_mask))
return false;
#endif

return true;
Expand Down

0 comments on commit 38d0400

Please sign in to comment.