Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357722
b: refs/heads/master
c: b4b87a9
h: refs/heads/master
v: v3
  • Loading branch information
Mark A. Greer authored and Herbert Xu committed Jan 19, 2013
1 parent 4205ce7 commit 56175e3
Show file tree
Hide file tree
Showing 2 changed files with 9 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: bc69d124d8141dff942c8c7fbaae76f9c0f4c796
refs/heads/master: b4b87a934c30fb91cbdd18ae028acdc361e1cf0f
12 changes: 8 additions & 4 deletions trunk/drivers/crypto/omap-aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,15 +296,19 @@ static int omap_aes_dma_init(struct omap_aes_dev *dd)
dma_cap_zero(mask);
dma_cap_set(DMA_SLAVE, mask);

dd->dma_lch_in = dma_request_channel(mask, omap_dma_filter_fn,
&dd->dma_in);
dd->dma_lch_in = dma_request_slave_channel_compat(mask,
omap_dma_filter_fn,
&dd->dma_in,
dd->dev, "rx");
if (!dd->dma_lch_in) {
dev_err(dd->dev, "Unable to request in DMA channel\n");
goto err_dma_in;
}

dd->dma_lch_out = dma_request_channel(mask, omap_dma_filter_fn,
&dd->dma_out);
dd->dma_lch_out = dma_request_slave_channel_compat(mask,
omap_dma_filter_fn,
&dd->dma_out,
dd->dev, "tx");
if (!dd->dma_lch_out) {
dev_err(dd->dev, "Unable to request out DMA channel\n");
goto err_dma_out;
Expand Down

0 comments on commit 56175e3

Please sign in to comment.