projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ff6cb
)
crypto: caam - Unmap region obtained by of_iomap
author
Arvind Yadav
<arvind.yadav.cs@gmail.com>
Wed, 28 Sep 2016 10:31:42 +0000
(16:01 +0530)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sun, 2 Oct 2016 14:33:43 +0000
(22:33 +0800)
Free memory mapping, if probe is not successful.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/jr.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/caam/jr.c
b/drivers/crypto/caam/jr.c
index
3202288
..
757c27f
100644
(file)
--- a/
drivers/crypto/caam/jr.c
+++ b/
drivers/crypto/caam/jr.c
@@
-506,6
+506,7
@@
static int caam_jr_probe(struct platform_device *pdev)
error = caam_jr_init(jrdev); /* now turn on hardware */
if (error) {
irq_dispose_mapping(jrpriv->irq);
+ iounmap(ctrl);
return error;
}