crypto: mxs-dcp - Fix platform_get_irq() error handling
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 14 Feb 2014 03:04:44 +0000 (01:04 -0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 26 Feb 2014 21:56:54 +0000 (05:56 +0800)
commitd9588f874482c0163caf19c2acbe5ce6260d42bf
tree4160f85e1e0046e6761de3aec3a010e01574c74d
parentb3bd5869fd65f509d96a9fcb47cdea81163a811d
crypto: mxs-dcp - Fix platform_get_irq() error handling

We should test the error case for each platform_get_irq() assignment and
propagate the error accordingly.

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