crypto: aml-dma: fix errors found in coverity check
authorMatthew Shyu <matthew.shyu@amlogic.com>
Tue, 19 Jun 2018 11:04:13 +0000 (19:04 +0800)
committerYixun Lan <yixun.lan@amlogic.com>
Thu, 21 Jun 2018 04:11:11 +0000 (21:11 -0700)
commite9cdacdc34b5adbbfa53a5bead8ea466e0ac5a90
treefc92f0911b5c83f562fbb03e6b84162cb43480d2
parentf669cda6186bd2b6a9e3e3e003de578850c2b2a7
crypto: aml-dma: fix errors found in coverity check

PD#168725: fix errors found in coverity check

Change-Id: I7528dc0c6122d32e3f2937a4b1869031d10851af
Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
drivers/amlogic/crypto/aml-aes-dma.c
drivers/amlogic/crypto/aml-dma.c
drivers/amlogic/crypto/aml-tdes-dma.c