crypto: ux500 - catch dma submission error
authorYueHaibing <yuehaibing@huawei.com>
Fri, 28 Dec 2018 06:10:33 +0000 (06:10 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 11 Jan 2019 06:16:56 +0000 (14:16 +0800)
commitbe8a54d367bfef7a5b354975f878441383ce9993
treed67e6940c3aa34d65487e1a5ba8d13afc016320e
parentd072bfa4885354fff86aa1fb1dbc4f1533c9e0bf
crypto: ux500 - catch dma submission error

Test cookie return by dmaengine_submit() and return error if any.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ux500/cryp/cryp_core.c