summaryrefslogtreecommitdiff
path: root/drivers/crypto/ux500/hash
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@linaro.org>2013-06-25 12:54:47 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-06-25 16:51:26 +0400
commit97453dfbbb5c26211998ed2639a45750ea5cc543 (patch)
tree25950e9d3679447caeb3447ea8341ee96d480dd4 /drivers/crypto/ux500/hash
parentfe14ed43ee7d1aec9778388a7a07ab7bfb499736 (diff)
downloadlinux-97453dfbbb5c26211998ed2639a45750ea5cc543.tar.xz
crypto: ux500: use dmaengine_device_control API
Use dmaengine_device_control inline function instead of going through the structures manually. Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/crypto/ux500/hash')
-rw-r--r--drivers/crypto/ux500/hash/hash_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c
index cffe26ea716f..58d6fcfe2d0f 100644
--- a/drivers/crypto/ux500/hash/hash_core.c
+++ b/drivers/crypto/ux500/hash/hash_core.c
@@ -203,7 +203,7 @@ static void hash_dma_done(struct hash_ctx *ctx)
struct dma_chan *chan;
chan = ctx->device->dma.chan_mem2hash;
- chan->device->device_control(chan, DMA_TERMINATE_ALL, 0);
+ dmaengine_device_control(chan, DMA_TERMINATE_ALL, 0);
dma_unmap_sg(chan->device->dev, ctx->device->dma.sg,
ctx->device->dma.sg_len, DMA_TO_DEVICE);