crypto: ux500/cryp - Set DMA configuration though dma_slave_config()
authorLee Jones <lee.jones@linaro.org>
Wed, 15 May 2013 09:51:39 +0000 (10:51 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 23 May 2013 19:14:17 +0000 (21:14 +0200)
commit3fc63d762ff4595c90d4b9b5682a9655fc28cae4
treec891b6b873e4a287651f52a40d80c319cc62c3e0
parent8703ffdd90c696bd66bb3247e59e76811fbdf22e
crypto: ux500/cryp - 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>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/crypto/ux500/cryp/cryp.h
drivers/crypto/ux500/cryp/cryp_core.c