summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ux500/hash
diff options
context:
space:
mode:
authorFabio Baltieri <fabio.baltieri@linaro.org>2013-06-25 10:54:47 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-06-25 14:51:26 +0200
commit97453dfbbb5c26211998ed2639a45750ea5cc543 (patch)
tree25950e9d3679447caeb3447ea8341ee96d480dd4 /drivers/crypto/ux500/hash
parentcrypto: ux500/crypt: add missing __iomem qualifiers (diff)
downloadlinux-97453dfbbb5c26211998ed2639a45750ea5cc543.tar.xz
linux-97453dfbbb5c26211998ed2639a45750ea5cc543.zip
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);