crypto: ux500/hash - Set DMA configuration though dma_slave_config()
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:36 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:14:07 +0000 (21:14 +0200)
commit85c5632d1f7f487d6ac0fb187ee0dacded60abc4
treee5737e63db8b33347404f8c370a025ffdb02c72b
parent58ba67dd36aa393132108ffcaa83873a1f82d70a
crypto: ux500/hash - Set DMA configuration though dma_slave_config()

The DMA controller currently takes configuration information from
information passed though dma_channel_request(), but it shouldn't.
Using the API, the DMA channel should only be configured during
a dma_slave_config() call.

Cc: David S. Miller <davem@davemloft.net>
Cc: Andreas Westin <andreas.westin@stericsson.com>
Cc: linux-crypto@vger.kernel.org
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/crypto/ux500/hash/hash_alg.h
drivers/crypto/ux500/hash/hash_core.c