crypto: mxs-dcp: Check the return value of stmp_reset_block()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 29 Jan 2014 00:36:12 +0000 (22:36 -0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 9 Feb 2014 01:59:26 +0000 (09:59 +0800)
commitfecfd7f7e91fc1e82d44b0e64a6bda8133f2037b
treeb32b08fbc1f19fe8543ecc5d4c222e172a83cd1e
parente921f0307531b27dbe34c17e8a5be5a88010d179
crypto: mxs-dcp: Check the return value of stmp_reset_block()

stmp_reset_block() may fail, so check its return value and propagate it in the
case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/mxs-dcp.c