Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33878795 authored by Arvind Yadav's avatar Arvind Yadav Committed by Herbert Xu
Browse files

crypto: caam - Unmap region obtained by of_iomap



Free memory mapping, if probe is not successful.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 74ff6cb3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
	}