summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/amcc
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2012-04-14 22:48:41 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2012-04-27 11:28:28 +1000
commitbdd3f7fa77257a818746caf9fbe0ea0e7bb7dde4 (patch)
tree845ef009cd50f07610cd247fcfce574bd7c28f1f /drivers/crypto/amcc
parentd788fec855e832ee3381d9d3afc91c9c0292e428 (diff)
downloadop-kernel-dev-bdd3f7fa77257a818746caf9fbe0ea0e7bb7dde4.zip
op-kernel-dev-bdd3f7fa77257a818746caf9fbe0ea0e7bb7dde4.tar.gz
crypto: crypto4xx - move up err_request_irq label
Move the err_request_irq error label up to reflect that tasklet_init and irq_of_parse_and_map have taken place. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/amcc')
-rw-r--r--drivers/crypto/amcc/crypto4xx_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/amcc/crypto4xx_core.c b/drivers/crypto/amcc/crypto4xx_core.c
index 13f8e1a..802e851 100644
--- a/drivers/crypto/amcc/crypto4xx_core.c
+++ b/drivers/crypto/amcc/crypto4xx_core.c
@@ -1244,9 +1244,9 @@ err_start_dev:
iounmap(core_dev->dev->ce_base);
err_iomap:
free_irq(core_dev->irq, dev);
+err_request_irq:
irq_dispose_mapping(core_dev->irq);
tasklet_kill(&core_dev->tasklet);
-err_request_irq:
crypto4xx_destroy_sdr(core_dev->dev);
err_build_sdr:
crypto4xx_destroy_gdr(core_dev->dev);
OpenPOWER on IntegriCloud